Skip to content

WebSocket support #161

@cjkent

Description

@cjkent

Official AWS docs seem pretty thin on the ground so far. This is the best overview:
https://serverless.com/blog/api-gateway-websockets-support/

The API should probably look something like this:
https://javalin.io/documentation#websockets

websocket("/websocket/:path") {
    onConnect { session -> ... }
    onMessage { session, message -> ... }
    onClose { session, statusCode, reason -> ... }
    onError { session, throwable -> ... }
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions