Members
-
<static> ContentTypes :string
-
A collection of possible mime types.
Type:
- string
Properties:
Name Type Default Description HTML
string text/html JSON
string application/json ZIP
string application/zip -
<static> Headers :string
-
A collection of possible headers to send.
Type:
- string
Properties:
Name Type Default Description ContentType
string content-type ContentLength
string content-length Authorization
string authorization AccessControlAllowOrigin
string access-control-allow-origin -
<static> Method :string
-
Possible http request methods.
Type:
- string
Properties:
Name Type Default Description POST
string POST GET
string GET HEAD
string HEAD PUT
string PUT DELETE
string DELETE OPTIONS
string OPTIONS PATCH
string PATCH -
<static> ResponseType :string
-
Possible http response types.
Type:
- string
Properties:
Name Type Default Description TEXT
string text BLOB
string blob ARRAY_BUFFER
string arraybuffer -
<static> Status :number
-
A collection of possible http status codes.
Type:
- number
Properties:
Name Type Default Description CANCELED
number 0 OK
number 200 CREATED
number 201 ACCEPTED
number 202 BAD_REQUEST
number 400 UNAUTHORIZED
number 401 FORBIDDEN
number 403 NOT_FOUND
number 404 METHOD_NOT_ALLOWED
number 405 SERVER_ERROR
number 500 SERVER_OVERLOAD
number 503