FSharp.Data.Toolbox


WebRequestExtensions Module

Type extensions

Type extension Description

this.AddOAuthHeader(consumerKey, consumerSecret, userToken, userTokenSecret, queryParams, ?originalUrl)

Full Usage: this.AddOAuthHeader(consumerKey, consumerSecret, userToken, userTokenSecret, queryParams, ?originalUrl)

Parameters:
    consumerKey : string
    consumerSecret : string
    userToken : string
    userTokenSecret : string
    queryParams : (string * string) list
    ?originalUrl : string

Add an Authorization header to the WebRequest for the provided user authorization tokens and query parameters

Extended Type: WebRequest

consumerKey : string
consumerSecret : string
userToken : string
userTokenSecret : string
queryParams : (string * string) list
?originalUrl : string

this.AddOAuthHeader(ctx, queryParams, ?originalUrl)

Full Usage: this.AddOAuthHeader(ctx, queryParams, ?originalUrl)

Parameters:
    ctx : TwitterContext
    queryParams : (string * string) list
    ?originalUrl : string

Add an Authorization header to the WebRequest for the provided user authorization tokens and query parameters

Extended Type: WebRequest

ctx : TwitterContext
queryParams : (string * string) list
?originalUrl : string