Namespaces
Methods
(static) proxy(options) → {Object}
A function to proxy kahoot.js-updated's http requests
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | The default HTTP Request options used by Kahoot.js |
Returns:
The modified HTTP Request options to proxy the request.
- Type
- Object
(static) wsproxy(url) → {Client#defaults.wsproxy.WsProxyReturn}
A function to proxy kahoot.js-updated's websocket requests
Parameters:
| Name | Type | Description |
|---|---|---|
url |
String | The default websocket URI that Kahoot.JS sends the socket to. |
Returns:
WS Options used to create the proxied socket. You may also return a WebSocket itself. See Documentation.md