mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 03:09:31 +08:00
5 lines
208 B
Text
5 lines
208 B
Text
/**
|
|
* Ensure the incoming `Request` can be upgraded to a Websocket connection.
|
|
* @NOTE Returns an error `Response` if the request cannot upgrade.
|
|
*/
|
|
export function connect(req: Request): Response | void;
|