 | RestClientBaseInvokeTBody, TResult(String, String, String, TBody) Method |
Invokes the specified method against the URL provided
Namespace: SanteDB.Core.HttpAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic TResult Invoke<TBody, TResult>(
string method,
string url,
string contentType,
TBody body
)
Public Function Invoke(Of TBody, TResult) (
method As String,
url As String,
contentType As String,
body As TBody
) As TResult
public:
generic<typename TBody, typename TResult>
virtual TResult Invoke(
String^ method,
String^ url,
String^ contentType,
TBody body
) sealed
abstract Invoke :
method : string *
url : string *
contentType : string *
body : 'TBody -> 'TResult
override Invoke :
method : string *
url : string *
contentType : string *
body : 'TBody -> 'TResult 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