 | RestClientBasePutTBody, TResult(String, String, TBody) Method |
Executes an HTTP PUT against the server
Namespace: SanteDB.Core.HttpAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic 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 String
- The resource URL to be executed against
- contentType String
- The content/type to use to serialize body
- body 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
TResultThe response from th eserver
Implements
IRestClientPutTBody, TResult(String, String, TBody)
See Also