Click or drag to resize

WikiaSiteInvokeWikiaApiAsyncT(String, WikiRequestMessage, IWikiResponseMessageParserT, 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.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Task<T> InvokeWikiaApiAsync<T>(
	string relativeUri,
	WikiRequestMessage request,
	IWikiResponseMessageParser<T> responseParser,
	CancellationToken cancellationToken
)

Parameters

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

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:WikiClientLibrary.Wikia.Sites.WikiaSite.InvokeWikiaApiAsync``1(System.String,WikiClientLibrary.Client.WikiRequestMessage,WikiClientLibrary.Client.IWikiResponseMessageParser{``0},System.Threading.CancellationToken)"]

Return Value

TaskT
The parsed JSON root of response.
Exceptions
ExceptionCondition
ArgumentNullExceptionEither request or responseParser is null.
See Also