Wooga.Lambda


HttpClient

Namespace: Wooga.Lambda.Network

Basic HTTP client.

Constructors

ConstructorDescription
new(transport)
Signature: transport:Func<HttpClient,HttpRequest,HttpResponse> -> unit

Instance members

Instance memberDescription
Delete(endpoint)
Signature: endpoint:string -> HttpResponse

Deletes the given endpoint.

Delete(endpoint, headers)
Signature: (endpoint:string * headers:ImmutableList<HttpHeader>) -> HttpResponse
DeleteAsync(endpoint)
Signature: endpoint:string -> Async<HttpResponse>

Deletes the asynchronous described by endpoint.

DeleteAsync(endpoint, headers)
Signature: (endpoint:string * headers:ImmutableList<HttpHeader>) -> Async<HttpResponse>
Get(endpoint)
Signature: endpoint:string -> HttpResponse

Gets.

Get(endpoint, headers)
Signature: (endpoint:string * headers:ImmutableList<HttpHeader>) -> HttpResponse
GetAsync(endpoint)
Signature: endpoint:string -> Async<HttpResponse>

Gets the asynchronous.

GetAsync(endpoint, headers)
Signature: (endpoint:string * headers:ImmutableList<HttpHeader>) -> Async<HttpResponse>
Head(endpoint)
Signature: endpoint:string -> HttpResponse

Heads.

Head(endpoint, headers)
Signature: (endpoint:string * headers:ImmutableList<HttpHeader>) -> HttpResponse
HeadAsync(endpoint)
Signature: endpoint:string -> Async<HttpResponse>

Head asynchronous.

HeadAsync(endpoint, headers)
Signature: (endpoint:string * headers:ImmutableList<HttpHeader>) -> Async<HttpResponse>
Post(endpoint, body)
Signature: (endpoint:string * body:ImmutableList<byte>) -> HttpResponse
Post(endpoint, body, headers)
Signature: (endpoint:string * body:ImmutableList<byte> * headers:ImmutableList<HttpHeader>) -> HttpResponse
PostAsync(endpoint, body)
Signature: (endpoint:string * body:ImmutableList<byte>) -> Async<HttpResponse>
PostAsync(endpoint, body, headers)
Signature: (endpoint:string * body:ImmutableList<byte> * headers:ImmutableList<HttpHeader>) -> Async<HttpResponse>
Put(endpoint, body)
Signature: (endpoint:string * body:ImmutableList<byte>) -> HttpResponse
Put(endpoint, body, headers)
Signature: (endpoint:string * body:ImmutableList<byte> * headers:ImmutableList<HttpHeader>) -> HttpResponse
PutAsync(endpoint, body)
Signature: (endpoint:string * body:ImmutableList<byte>) -> Async<HttpResponse>
PutAsync(endpoint, body, headers)
Signature: (endpoint:string * body:ImmutableList<byte> * headers:ImmutableList<HttpHeader>) -> Async<HttpResponse>
Fork me on GitHub