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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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