RequestWitGet< TValue >
(
endpoint
, urlParameters
, onPartial
)
|
Get request to a wit endpoint
Signature
Task<VRequestResponse<TValue> > Meta.WitAi.Requests.IWitVRequest.RequestWitGet< TValue >(string endpoint, Dictionary< string, string > urlParameters, Action< TValue > onPartial=null) Parameters endpoint: stringÂ
The wit endpoint for the request. Ex. 'synthesize'
urlParameters: Dictionary< string, string >Â
Any parameters to be added to the url prior to request.
onPartial: Action< TValue >Â
If provided, this will call back for every incremental json chunk.
Returns Task< VRequestResponse< TValue > >Â
An awaitable task thar contains the final decoded json results
|
RequestWitPost< TValue >
(
endpoint
, urlParameters
, payload
, onPartial
)
|
Post request to a wit endpoint
Signature
Task<VRequestResponse<TValue> > Meta.WitAi.Requests.IWitVRequest.RequestWitPost< TValue >(string endpoint, Dictionary< string, string > urlParameters, string payload, Action< TValue > onPartial=null) Parameters endpoint: stringÂ
The wit endpoint for the request. Ex. 'synthesize'
urlParameters: Dictionary< string, string >Â
Any parameters to be added to the url prior to request.
payload: stringÂ
Text data that will be uploaded via post.
onPartial: Action< TValue >Â
If provided, this will call back for every incremental json chunk.
Returns Task< VRequestResponse< TValue > >Â
An awaitable task thar contains the final decoded json results
|
RequestWitPut< TValue >
(
endpoint
, urlParameters
, payload
, onPartial
)
|
Put request to a wit endpoint
Signature
Task<VRequestResponse<TValue> > Meta.WitAi.Requests.IWitVRequest.RequestWitPut< TValue >(string endpoint, Dictionary< string, string > urlParameters, string payload, Action< TValue > onPartial=null) Parameters endpoint: stringÂ
The wit endpoint for the request. Ex. 'synthesize'
urlParameters: Dictionary< string, string >Â
Any parameters to be added to the url prior to request.
payload: stringÂ
Text data that will be uploaded via put.
onPartial: Action< TValue >Â
If provided, this will call back for every incremental json chunk.
Returns Task< VRequestResponse< TValue > >Â
An awaitable task thar contains the final decoded json results
|