export var RequestMethod = {}; RequestMethod.Get = 0; RequestMethod.Post = 1; RequestMethod.Put = 2; RequestMethod.Delete = 3; RequestMethod.Options = 4; RequestMethod.Head = 5; RequestMethod.Patch = 6; RequestMethod[RequestMethod.Get] = "Get"; RequestMethod[RequestMethod.Post] = "Post"; RequestMethod[RequestMethod.Put] = "Put"; RequestMethod[RequestMethod.Delete] = "Delete"; RequestMethod[RequestMethod.Options] = "Options"; RequestMethod[RequestMethod.Head] = "Head"; RequestMethod[RequestMethod.Patch] = "Patch"; export var ReadyState = {}; ReadyState.Unsent = 0; ReadyState.Open = 1; ReadyState.HeadersReceived = 2; ReadyState.Loading = 3; ReadyState.Done = 4; ReadyState.Cancelled = 5; ReadyState[ReadyState.Unsent] = "Unsent"; ReadyState[ReadyState.Open] = "Open"; ReadyState[ReadyState.HeadersReceived] = "HeadersReceived"; ReadyState[ReadyState.Loading] = "Loading"; ReadyState[ReadyState.Done] = "Done"; ReadyState[ReadyState.Cancelled] = "Cancelled"; export var ResponseType = {}; ResponseType.Basic = 0; ResponseType.Cors = 1; ResponseType.Default = 2; ResponseType.Error = 3; ResponseType.Opaque = 4; ResponseType[ResponseType.Basic] = "Basic"; ResponseType[ResponseType.Cors] = "Cors"; ResponseType[ResponseType.Default] = "Default"; ResponseType[ResponseType.Error] = "Error"; ResponseType[ResponseType.Opaque] = "Opaque"; export var ContentType = {}; ContentType.NONE = 0; ContentType.JSON = 1; ContentType.FORM = 2; ContentType.FORM_DATA = 3; ContentType.TEXT = 4; ContentType.BLOB = 5; ContentType.ARRAY_BUFFER = 6; ContentType[ContentType.NONE] = "NONE"; ContentType[ContentType.JSON] = "JSON"; ContentType[ContentType.FORM] = "FORM"; ContentType[ContentType.FORM_DATA] = "FORM_DATA"; ContentType[ContentType.TEXT] = "TEXT"; ContentType[ContentType.BLOB] = "BLOB"; ContentType[ContentType.ARRAY_BUFFER] = "ARRAY_BUFFER"; export var ResponseContentType = {}; ResponseContentType.Text = 0; ResponseContentType.Json = 1; ResponseContentType.ArrayBuffer = 2; ResponseContentType.Blob = 3; ResponseContentType[ResponseContentType.Text] = "Text"; ResponseContentType[ResponseContentType.Json] = "Json"; ResponseContentType[ResponseContentType.ArrayBuffer] = "ArrayBuffer"; ResponseContentType[ResponseContentType.Blob] = "Blob"; //# sourceMappingURL=enums.js.map