| RestClientInvokeInternalTBody, TResult Method |
Invokes the specified method against the url provided
Namespace:
SanteDB.DisconnectedClient.Http
Assembly:
SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax protected override TResult InvokeInternal<TBody, TResult>(
string method,
string url,
string contentType,
WebHeaderCollection additionalHeaders,
out WebHeaderCollection responseHeaders,
TBody body,
NameValueCollection query
)
Protected Overrides Function InvokeInternal(Of TBody, TResult) (
method As String,
url As String,
contentType As String,
additionalHeaders As WebHeaderCollection,
<OutAttribute> ByRef responseHeaders As WebHeaderCollection,
body As TBody,
query As NameValueCollection
) As TResult
protected:
generic<typename TBody, typename TResult>
virtual TResult InvokeInternal(
String^ method,
String^ url,
String^ contentType,
WebHeaderCollection^ additionalHeaders,
[OutAttribute] WebHeaderCollection^% responseHeaders,
TBody body,
NameValueCollection^ query
) override
abstract InvokeInternal :
method : string *
url : string *
contentType : string *
additionalHeaders : WebHeaderCollection *
responseHeaders : WebHeaderCollection byref *
body : 'TBody *
query : NameValueCollection -> 'TResult
override InvokeInternal :
method : string *
url : string *
contentType : string *
additionalHeaders : WebHeaderCollection *
responseHeaders : WebHeaderCollection byref *
body : 'TBody *
query : NameValueCollection -> 'TResult
Parameters
- method
- Type: SystemString
Method. - url
- Type: SystemString
URL. - contentType
- Type: SystemString
Content type. - additionalHeaders
- Type: System.NetWebHeaderCollection
[Missing <param name="additionalHeaders"/> documentation for "M:SanteDB.DisconnectedClient.Http.RestClient.InvokeInternal``2(System.String,System.String,System.String,System.Net.WebHeaderCollection,System.Net.WebHeaderCollection@,``0,SanteDB.Core.Model.Query.NameValueCollection)"]
- responseHeaders
- Type: System.NetWebHeaderCollection
[Missing <param name="responseHeaders"/> documentation for "M:SanteDB.DisconnectedClient.Http.RestClient.InvokeInternal``2(System.String,System.String,System.String,System.Net.WebHeaderCollection,System.Net.WebHeaderCollection@,``0,SanteDB.Core.Model.Query.NameValueCollection)"]
- body
- Type: TBody
Body. - query
- Type: SanteDB.Core.Model.QueryNameValueCollection
Query.
Type Parameters
- TBody
- The 1st type parameter.
- TResult
- The 2nd type parameter.
Return Value
Type:
TResult[Missing <returns> documentation for "M:SanteDB.DisconnectedClient.Http.RestClient.InvokeInternal``2(System.String,System.String,System.String,System.Net.WebHeaderCollection,System.Net.WebHeaderCollection@,``0,SanteDB.Core.Model.Query.NameValueCollection)"]
See Also