FSharp.Data


XElementExtensions Module

Extension methods for XElement

Type extensions

Type extension Description

this.Request(uri, ?httpMethod, ?headers)

Full Usage: this.Request(uri, ?httpMethod, ?headers)

Parameters:
    uri : string
    ?httpMethod : string
    ?headers : seq<string * string>

Returns: HttpResponse

Sends the XML to the specified uri. Defaults to a POST request.

Extended Type: XElement

uri : string
?httpMethod : string
?headers : seq<string * string>
Returns: HttpResponse

this.RequestAsync(uri, ?httpMethod, ?headers)

Full Usage: this.RequestAsync(uri, ?httpMethod, ?headers)

Parameters:
    uri : string
    ?httpMethod : string
    ?headers : seq<string * string>

Returns: Async<HttpResponse>

Sends the XML to the specified uri. Defaults to a POST request.

Extended Type: XElement

uri : string
?httpMethod : string
?headers : seq<string * string>
Returns: Async<HttpResponse>