MethodInvocation Send TResponse, TRequest  Method (IRelationsWithProxy, String, , String, TRequest, String)DocuWare Platform .NET API
Sends a message to the specified HTTP client.

Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: 6.5.0.0 (6.5.0.5648)
Syntax

public static Task<DeserializedHttpResponse<TResponse>> Send<TResponse, TRequest>(
	this IRelationsWithProxy relations,
	string relationName,
	HttpMethod method,
	string requestContentType,
	TRequest dataToSend,
	string acceptType
)
where TResponse : class 
where TRequest : class
Type Parameters

TResponse
The type of the response.
TRequest
The type of the request.

Return Value

Type: OnlineTask DeserializedHttpResponse TResponse  

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRelationsWithProxy. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also