Readonly
endpointsAll supported endpoints within this API. Use .fetch()
on an individual endpoint to send
requests to it.
Where this API is hosted. This can be freely modified at any time and it will immediately
affect all endpoint.fetch()
and webSocket.connect()
methods.
https://developer.mozilla.org/en-US/docs/Web/API/Location for help on which part of the URL is the origin (if necessary).
Readonly
webAll supported WebSockets within this API. Use .connect()
on an individual WebSocket to open
up connections to it.
An API generated by generateApi. This can be easily mocked by wrapping this API in makeMockApi.
Package
@rest-vir/define-service