| 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.ClientAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax protected virtual HttpRequestMessage CreateHttpRequestMessage(
string endpointUrl,
WikiRequestMessage message
)
Protected Overridable Function CreateHttpRequestMessage (
endpointUrl As String,
message As WikiRequestMessage
) As HttpRequestMessage
Dim endpointUrl As String
Dim message As WikiRequestMessage
Dim returnValue As HttpRequestMessage
returnValue = Me.CreateHttpRequestMessage(endpointUrl,
message)
protected:
virtual HttpRequestMessage^ CreateHttpRequestMessage(
String^ endpointUrl,
WikiRequestMessage^ message
)
abstract CreateHttpRequestMessage :
endpointUrl : string *
message : WikiRequestMessage -> HttpRequestMessage
override CreateHttpRequestMessage :
endpointUrl : string *
message : WikiRequestMessage -> HttpRequestMessage
Parameters
- endpointUrl String
- MediaWiki API endpoint URL.
- message WikiRequestMessage
- The MediaWiki API request message to be sent.
Return Value
HttpRequestMessageThe 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