C# Class Spark.Engine.Extensions.HttpRequestExtensions

Show file Open project: raysearchlabs/spark Class Usage Examples

Public Methods

Method Description
Exists ( this headers, string key ) : bool
GetParameter ( this request, string key ) : string
GetSearchParams ( this request ) : Hl7.Fhir.Rest.SearchParams
Header ( this request, string key ) : string
Replace ( this headers, string header, string value ) : void
ReplaceHeader ( this request, string header, string value ) : void
TupledParameters ( this request ) : string>>.List
Value ( this headers, string key ) : string

Method Details

Exists() public static method

public static Exists ( this headers, string key ) : bool
headers this
key string
return bool

GetParameter() public static method

public static GetParameter ( this request, string key ) : string
request this
key string
return string

GetSearchParams() public static method

public static GetSearchParams ( this request ) : Hl7.Fhir.Rest.SearchParams
request this
return Hl7.Fhir.Rest.SearchParams

Header() public static method

public static Header ( this request, string key ) : string
request this
key string
return string

Replace() public static method

public static Replace ( this headers, string header, string value ) : void
headers this
header string
value string
return void

ReplaceHeader() public static method

public static ReplaceHeader ( this request, string header, string value ) : void
request this
header string
value string
return void

TupledParameters() public static method

public static TupledParameters ( this request ) : string>>.List
request this
return string>>.List

Value() public static method

public static Value ( this headers, string key ) : string
headers this
key string
return string