defined basic types, websocket transport