Click or drag to resize

RestClientBasePutTBody, TResult Method (String, String, TBody)

Executes an HTTP PUT against the server

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

Parameters

url
Type: SystemString
The resource URL to be executed against
contentType
Type: SystemString
The content/type to use to serialize body
body
Type: TBody
The content to be submitted to the server

Type Parameters

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

Return Value

Type: TResult
The response from th eserver

Implements

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