question: public WebSocketImpl ( WebSocketListener listener , List < Draft > drafts ) { this ( listener , ( Draft ) null ) ; this . role = Role . SERVER ; if ( drafts == null || drafts . isEmpty ( ) ) { knownDrafts = defaultdraftlist ; } else { knownDrafts = drafts ; } }
target:  crates a websocket with server role