public class OkHttpNetworkConnection extends Object implements NetworkConnection
| Modifier and Type | Class and Description |
|---|---|
static class |
OkHttpNetworkConnection.OkHttpNetworkConnectionBuilder
Builder for the OkHttpNetworkConnection.
|
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
getHttpMethod() |
Uri |
getUri() |
List<RequestResult> |
sendRequests(List<Request> requests)
Send requests to the collector.
|
@NonNull public HttpMethod getHttpMethod()
getHttpMethod in interface NetworkConnection@NonNull public Uri getUri()
getUri in interface NetworkConnection@NonNull public List<RequestResult> sendRequests(@NonNull List<Request> requests)
NetworkConnectionsendRequests in interface NetworkConnectionrequests - to send.