Deedle


Http

Namespace: FSharp.Data
Attributes:
[<AbstractClass>]

Utilities for working with network via HTTP. Includes methods for downloading resources with specified headers, query parameters and HTTP body

Static members

Static memberDescription
Http.AsyncRequest(...)
Signature: (url:string * query:(string * string) list option * headers:seq<string * string> option * httpMethod:string option * body:HttpRequestBody option * cookies:seq<string * string> option * cookieContainer:CookieContainer option * silentHttpErrors:bool option * silentCookieErrors:bool option * responseEncodingOverride:string option * customizeHttpRequest:(HttpWebRequest -> HttpWebRequest) option * timeout:int option) -> Async<HttpResponse>

Download an HTTP web resource from the specified URL asynchronously (allows specifying query string parameters and HTTP headers including headers that have to be handled specially - such as Accept, Content-Type & Referer) The body for POST request can be specified either as text or as a list of parameters that will be encoded, and the method will automatically be set if not specified

Http.AsyncRequestStream(...)
Signature: (url:string * query:(string * string) list option * headers:seq<string * string> option * httpMethod:string option * body:HttpRequestBody option * cookies:seq<string * string> option * cookieContainer:CookieContainer option * silentHttpErrors:bool option * silentCookieErrors:bool option * customizeHttpRequest:(HttpWebRequest -> HttpWebRequest) option * timeout:int option) -> Async<HttpResponseWithStream>

Download an HTTP web resource from the specified URL asynchronously (allows specifying query string parameters and HTTP headers including headers that have to be handled specially - such as Accept, Content-Type & Referer) The body for POST request can be specified either as text or as a list of parameters that will be encoded, and the method will automatically be set if not specified

Http.AsyncRequestString(...)
Signature: (url:string * query:(string * string) list option * headers:seq<string * string> option * httpMethod:string option * body:HttpRequestBody option * cookies:seq<string * string> option * cookieContainer:CookieContainer option * silentHttpErrors:bool option * silentCookieErrors:bool option * responseEncodingOverride:string option * customizeHttpRequest:(HttpWebRequest -> HttpWebRequest) option * timeout:int option) -> Async<string>

Download an HTTP web resource from the specified URL asynchronously (allows specifying query string parameters and HTTP headers including headers that have to be handled specially - such as Accept, Content-Type & Referer) The body for POST request can be specified either as text or as a list of parameters that will be encoded, and the method will automatically be set if not specified

Http.Request(...)
Signature: (url:string * query:(string * string) list option * headers:seq<string * string> option * httpMethod:string option * body:HttpRequestBody option * cookies:seq<string * string> option * cookieContainer:CookieContainer option * silentHttpErrors:bool option * silentCookieErrors:bool option * responseEncodingOverride:string option * customizeHttpRequest:(HttpWebRequest -> HttpWebRequest) option * timeout:int option) -> HttpResponse

Download an HTTP web resource from the specified URL synchronously (allows specifying query string parameters and HTTP headers including headers that have to be handled specially - such as Accept, Content-Type & Referer) The body for POST request can be specified either as text or as a list of parameters that will be encoded, and the method will automatically be set if not specified

Http.RequestStream(...)
Signature: (url:string * query:(string * string) list option * headers:seq<string * string> option * httpMethod:string option * body:HttpRequestBody option * cookies:seq<string * string> option * cookieContainer:CookieContainer option * silentHttpErrors:bool option * silentCookieErrors:bool option * customizeHttpRequest:(HttpWebRequest -> HttpWebRequest) option * timeout:int option) -> HttpResponseWithStream

Download an HTTP web resource from the specified URL synchronously (allows specifying query string parameters and HTTP headers including headers that have to be handled specially - such as Accept, Content-Type & Referer) The body for POST request can be specified either as text or as a list of parameters that will be encoded, and the method will automatically be set if not specified

Http.RequestString(...)
Signature: (url:string * query:(string * string) list option * headers:seq<string * string> option * httpMethod:string option * body:HttpRequestBody option * cookies:seq<string * string> option * cookieContainer:CookieContainer option * silentHttpErrors:bool option * silentCookieErrors:bool option * responseEncodingOverride:string option * customizeHttpRequest:(HttpWebRequest -> HttpWebRequest) option * timeout:int option) -> string

Download an HTTP web resource from the specified URL synchronously (allows specifying query string parameters and HTTP headers including headers that have to be handled specially - such as Accept, Content-Type & Referer) The body for POST request can be specified either as text or as a list of parameters that will be encoded, and the method will automatically be set if not specified

Fork me on GitHub