RustViaduct.sys.mjs
- class RustViaduct.sys.BackendAlreadyInitialized()
BackendAlreadyInitialized
- class RustViaduct.sys.BackendError()
BackendError
- class RustViaduct.sys.BackendNotInitialized()
BackendNotInitialized
- class RustViaduct.sys.Method()
HTTP Methods.
The supported methods are the limited to what’s supported by android-components.
- RustViaduct.sys.Method.CONNECT
CONNECT
- RustViaduct.sys.Method.DELETE
DELETE
- RustViaduct.sys.Method.GET
GET
- RustViaduct.sys.Method.HEAD
HEAD
- RustViaduct.sys.Method.OPTIONS
OPTIONS
- RustViaduct.sys.Method.PATCH
PATCH
- RustViaduct.sys.Method.POST
POST
- RustViaduct.sys.Method.PUT
PUT
- RustViaduct.sys.Method.TRACE
TRACE
- class RustViaduct.sys.NetworkError()
NetworkError
- class RustViaduct.sys.NonTlsUrl()
NonTlsUrl
- class RustViaduct.sys.RequestHeaderError()
RequestHeaderError
- class RustViaduct.sys.Response()
A response from the server.
- RustViaduct.sys.Response.body
The body of the response.
- RustViaduct.sys.Response.headers
The headers returned with this response.
- RustViaduct.sys.Response.requestMethod
The method used to request this response.
- RustViaduct.sys.Response.status
The HTTP Status code of this response.
- RustViaduct.sys.Response.url
The URL of this response.
- class RustViaduct.sys.SetBackendError()
SetBackendError
- class RustViaduct.sys.UrlError()
Note: we return this if the server returns a bad URL with its response. This probably should never happen, but who knows.
- RustViaduct.sys.allowAndroidEmulatorLoopback()
Allow non-HTTPS requests to the emulator loopback URL
- RustViaduct.sys.initBackend(backend)
initBackend
- Arguments:
backend (Backend)