internal void InternalSetMethod(UnityWebRequest.UnityWebRequestMethod methodType) { if (!this.isModifiable) { throw new InvalidOperationException("UnityWebRequest has already been sent and its request method can no longer be altered"); } UnityWebRequest.UnityWebRequestError unityWebRequestError = this.SetMethod(methodType); if (unityWebRequestError != UnityWebRequest.UnityWebRequestError.OK) { throw new InvalidOperationException(UnityWebRequest.GetWebErrorString(unityWebRequestError)); } }
internal extern void InternalSetMethod(UnityWebRequest.UnityWebRequestMethod methodType);
private extern UnityWebRequest.UnityWebRequestError SetMethod(UnityWebRequest.UnityWebRequestMethod methodType);