Click or drag to resize

WikiaSiteInvokeWikiaApiAsync(String, WikiRequestMessage, CancellationToken) Method

This is preliminary documentation and is subject to change.

Invokes Wikia API v1 call.

Namespace: WikiClientLibrary.Wikia.Sites
Assembly: WikiClientLibrary.Wikia (in WikiClientLibrary.Wikia.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public Task<JsonNode> InvokeWikiaApiAsync(
	string relativeUri,
	WikiRequestMessage request,
	CancellationToken cancellationToken
)

Parameters

relativeUri  String
The URI relative to WikiaApiRootUrl. It often starts with a slash.
request  WikiRequestMessage
The request message.
cancellationToken  CancellationToken
The token used to cancel the operation.

Return Value

TaskJsonNode
The parsed JSON root of response.
Exceptions
ExceptionCondition
ArgumentNullExceptionEither request or responseParser is null.
Remarks
This overload uses WikiaJsonResponseParser to parse the response.
See Also