Click or drag to resize

RestClientBaseInvokeTBody, TResult(String, String, String, TBody) Method

Invokes the specified method against the URL provided

Namespace: SanteDB.Core.Http
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public TResult Invoke<TBody, TResult>(
	string method,
	string url,
	string contentType,
	TBody body
)

Parameters

method  String
The HTTP method to be executed
url  String
The URL on which the invokation should occur
contentType  String
Content type of body
body  TBody
The body to be sent to the server

Type Parameters

TBody
The type of the body
TResult
The expected response from the server

Return Value

TResult

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

Implements

IRestClientInvokeTBody, TResult(String, String, String, TBody)
See Also