FSharpGephiStreamer


Http

Namespace: FSharp.Net

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

Static members

Static memberDescription
AsyncRequest(...)
Signature: (url:string * query:'?8187 option * headers:'?8188 option * meth:string option * body:RequestBody option * cookies:'?8189 option * cookieContainer:CookieContainer option * certificate:'?8190 option) -> Async<HttpResponse>
Type parameters: '?8187, '?8188, '?8189, '?8190

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

AsyncRequestString(...)
Signature: (url:string * query:'?8192 option * headers:'?8193 option * meth:string option * body:RequestBody option * cookies:'?8194 option * cookieContainer:CookieContainer option * certificate:'?8195 option) -> Async<string>
Type parameters: '?8192, '?8193, '?8194, '?8195

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

Request(...)
Signature: (url:string * query:'a option * headers:'b option * meth:string option * body:RequestBody option * cookies:'c option * cookieContainer:CookieContainer option * certificate:'d option) -> HttpResponse
Type parameters: 'a, 'b, 'c, 'd

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

RequestString(...)
Signature: (url:string * query:'?8202 option * headers:'?8203 option * meth:string option * body:RequestBody option * cookies:'?8204 option * cookieContainer:CookieContainer option * certificate:'?8205 option) -> string
Type parameters: '?8202, '?8203, '?8204, '?8205

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