Click or drag to resize

IRestClientInvokeTBody, TResult Method (String, String, String, TBody, NameValueCollection)

Invokes the specified method against the url provided

Namespace:  SanteDB.Core.Http
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
TResult Invoke<TBody, TResult>(
	string method,
	string url,
	string contentType,
	TBody body,
	NameValueCollection query
)

Parameters

method
Type: SystemString
The HTTP method to invoke on th server
url
Type: SystemString
The URL which should be invoked
contentType
Type: SystemString
The content/type of body
body
Type: TBody
The body of the object to be submitted
query
Type: System.Collections.SpecializedNameValueCollection
The query parmaeters to pass in the request

Type Parameters

TBody
Indicates the type of body
TResult
Indicates the expected return type

Return Value

Type: TResult

[Missing <returns> documentation for "M:SanteDB.Core.Http.IRestClient.Invoke``2(System.String,System.String,System.String,``0,System.Collections.Specialized.NameValueCollection)"]

See Also