Creates the message body.
Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: Version 6.6
Syntax
C#
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