-record(websocket, { path :: list(binary()), handler :: fun((mist@websocket:message(), glisten@tcp:socket()) -> {ok, nil} | {error, nil}) }).