Enums¶
Details¶
- class Rest.MemoryUse(value)¶
Bases:
GLib.Enum
- STATIC = 0¶
the memory block can be assumed to always exist for the lifetime of the parameter,
Rest.Param
will use it directly.
- TAKE = 1¶
Rest.Param
will take ownership of the memory block, andGLib.free
() it when it isn’t used.
- COPY = 2¶
Rest.Param
will make a copy of the memory block.
- class Rest.ProxyCallError(value)¶
Bases:
GObject.GEnum
Error domain used when returning errors from
Rest.ProxyCall
.- FAILED = 0¶
the method call failed
- class Rest.ProxyError(value)¶
Bases:
GObject.GEnum
Error domain used when returning errors from a
Rest.Proxy
.- CANCELLED = 1¶
Cancelled
- RESOLUTION = 2¶
Resolution
- CONNECTION = 3¶
Connection
- HTTP_MULTIPLE_CHOICES = 300¶
HTTP/Multiple choices
- HTTP_MOVED_PERMANENTLY = 301¶
HTTP/Moved permanently
- HTTP_FOUND = 302¶
HTTP/Found
- HTTP_SEE_OTHER = 303¶
HTTP/See other
- HTTP_NOT_MODIFIED = 304¶
HTTP/Not modified
- HTTP_USE_PROXY = 305¶
HTTP/Use proxy
- HTTP_THREEOHSIX = 306¶
HTTP/306
- HTTP_TEMPORARY_REDIRECT = 307¶
HTTP/Temporary redirect
- SSL = 4¶
SSL
- HTTP_BAD_REQUEST = 400¶
HTTP/Bad request
- HTTP_UNAUTHORIZED = 401¶
HTTP/Unauthorized
- HTTP_FOUROHTWO = 402¶
HTTP/402
- HTTP_FORBIDDEN = 403¶
HTTP/Forbidden
- HTTP_NOT_FOUND = 404¶
HTTP/Not found
- HTTP_METHOD_NOT_ALLOWED = 405¶
HTTP/Method not allowed
- HTTP_NOT_ACCEPTABLE = 406¶
HTTP/Not acceptable
- HTTP_PROXY_AUTHENTICATION_REQUIRED = 407¶
HTTP/Proxy authentication required
- HTTP_REQUEST_TIMEOUT = 408¶
HTTP/Request timeout
- HTTP_CONFLICT = 409¶
HTTP/Conflict
- HTTP_GONE = 410¶
HTTP/Gone
- HTTP_LENGTH_REQUIRED = 411¶
HTTP/Length required
- HTTP_PRECONDITION_FAILED = 412¶
HTTP/Precondition failed
- HTTP_REQUEST_ENTITY_TOO_LARGE = 413¶
HTTP/Request entity too large
- HTTP_REQUEST_URI_TOO_LONG = 414¶
HTTP/Request URI too long
- HTTP_UNSUPPORTED_MEDIA_TYPE = 415¶
HTTP/Unsupported media type
- HTTP_REQUESTED_RANGE_NOT_SATISFIABLE = 416¶
HTTP/Requested range not satisfiable
- HTTP_EXPECTATION_FAILED = 417¶
HTTP/Expectation failed
- IO = 5¶
Input/Output
- HTTP_INTERNAL_SERVER_ERROR = 500¶
HTTP/Internal server error
- HTTP_NOT_IMPLEMENTED = 501¶
HTTP/Not implemented
- HTTP_BAD_GATEWAY = 502¶
HTTP/Bad gateway
- HTTP_SERVICE_UNAVAILABLE = 503¶
HTTP/Service unavailable
- HTTP_GATEWAY_TIMEOUT = 504¶
HTTP/Gateway timeout
- HTTP_HTTP_VERSION_NOT_SUPPORTED = 505¶
HTTP/Version not supported
- FAILED = 6¶
Failure
- URL_INVALID = 7¶
Invalid URL
- BINDING_REQUIRED = 8¶
URL requires binding