MethodInvocationCreateMessageBodyTRequest Method |
Creates the message body.
Namespace: DocuWare.Services.Http.ClientAssembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: Version 6.7 [UNOFFICIAL BUILD]
Syntax public static HttpContent CreateMessageBody<TRequest>(
TRequest dataToSend,
string requestContentType
)
where TRequest : class
Parameters
- dataToSend
- Type: TRequest
The data to send. - requestContentType
- Type: SystemString
Type of the request content.
Type Parameters
- TRequest
- The type of the request.
Return Value
Type:
HttpContentSee Also