| 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
)
Public Function Put(Of TBody, TResult) (
url As String,
contentType As String,
body As TBody
) As TResult
public:
generic<typename TBody, typename TResult>
virtual TResult Put(
String^ url,
String^ contentType,
TBody body
) sealed
abstract Put :
url : string *
contentType : string *
body : 'TBody -> 'TResult
override Put :
url : string *
contentType : string *
body : 'TBody -> 'TResult
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:
TResultThe response from th eserver
Implements
IRestClientPutTBody, TResult(String, String, TBody)See Also