Click or drag to resize
MethodInvocationCreateMessageBodyTRequest Method
Creates the message body.

Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: Version 6.7 [UNOFFICIAL BUILD]
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: HttpContent
See Also