object Response
- Companion:
- class
Type members
Classlikes
Value members
Concrete methods
def fromSocket[R, E, A, B](socket: Socket[R, E, A, B])(implicit ev: IsWebSocket[R, E, A, B]): ZIO[R, Nothing, Response]
Creates a new response for the provided socket
Creates a new response for the provided socket
Creates a new response for the provided socket app
Creates a new response for the provided socket app
Creates a response with content-type set to text/html
Creates a response with content-type set to text/html
Creates a response with content-type set to application/json
Creates a response with content-type set to application/json
Creates an empty response with status 301 or 302 depending on if it's permanent or not.
Creates an empty response with status 301 or 302 depending on if it's permanent or not.