vertx / io.vertx.rxjava.ext.web.handler.sockjs / SockJSHandler / socketHandler

# socketHandler

`open fun socketHandler(handler: Handler<SockJSSocket>): SockJSHandler`

Set a SockJS socket handler. This handler will be called with a SockJS socket whenever a SockJS connection is made from a client

### Parameters

`handler` - the handler

Return
a reference to this, so the API can be used fluently