public Optional<Integer> getWebSocketPort() {
    return webSocketRpc.map(service -> service.socketAddress().getPort());
  }
Gets web socket port.

@return the web socket port
app/src/main/java/org/hyperledger/besu/Runner.java