disconnect

The oasis.disconnect method disconnects the client from the default OasisGateway, set via oasis.setGateway. When using websockets, this method should be called to clean up any outstanding connections, e.g., when testing.

disconnect

oasis.disconnect()