Click or drag to resize

WikiClientCreateHttpRequestMessage Method

This is preliminary documentation and is subject to change.

Creates an HTTP request message with the given endpoint URL and WikiRequestMessage instance.

Namespace: WikiClientLibrary.Client
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
protected virtual HttpRequestMessage CreateHttpRequestMessage(
	string endpointUrl,
	WikiRequestMessage message
)

Parameters

endpointUrl  String
MediaWiki API endpoint URL.
message  WikiRequestMessage
The MediaWiki API request message to be sent.

Return Value

HttpRequestMessage
The actual HttpRequestMessage to be sent.
Remarks
When overriding this method in derived class, you may change the message headers and/or content after getting the HttpRequestMessage instance from base implementation, before returning the HTTP request message.
See Also