| 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
)
Function Invoke(Of TBody, TResult) (
method As String,
url As String,
contentType As String,
body As TBody,
query As NameValueCollection
) As TResult
generic<typename TBody, typename TResult>
TResult Invoke(
String^ method,
String^ url,
String^ contentType,
TBody body,
NameValueCollection^ query
)
abstract Invoke :
method : string *
url : string *
contentType : string *
body : 'TBody *
query : NameValueCollection -> 'TResult
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