HttpClient Interface

Definition

A generic interface for sending HTTP requests and getting responses.

public interface HttpClient

Methods

createDefault()

Creates a new HttpClient instance.

createDefault(HttpClientOptions clientOptions)

Creates a new HttpClient instance.

send(HttpRequest request)

Send the provided request asynchronously.

send(HttpRequest request, Context context)

Sends the provided request asynchronously with contextual information.

Applies to