Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

ModIO.APIClient.SendRequest[T]

Jackson Wood edited this page Jul 26, 2018 · 7 revisions

APIClient.SendRequest

public static void SendRequest(UnityWebRequest webRequest, Action<T> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
webRequest The request to send and attach the callback functions to
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Sends the request and attaches the callbacks to the UnityWebRequestAsyncOperation that is created, and attempts to parse the response.

See also: ModIO.APIClient.SendRequest

Clone this wiki locally