private void init(BGIRequestResult requestResult, float inHttpTimeOut, RequestType inType) { requestBody = requestResult; type = inType; httpTimeOut = inHttpTimeOut; requestSuccessed = requestResult.requestSuccessed; requestSuccessedTexture = requestResult.requestSuccessedTexture; requestFail = requestResult.requestFail; }
public void dispose() { if (client != null) { client.Dispose(); } resultarr = null; client = null; idle = true; requestBody = null; requestFail = null; requestSuccessedTexture = null; requestSuccessed = null; }