Home
last modified time | relevance | path

Searched refs:HEADER_WEBSOCKET_PROTOCOL (Results 1 – 2 of 2) sorted by relevance

/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java757 public static final String HEADER_WEBSOCKET_PROTOCOL = "sec-websocket-protocol"; field in NanoWSD
855 if (headers.containsKey(NanoWSD.HEADER_WEBSOCKET_PROTOCOL)) { in serve()
856 …handshakeResponse.addHeader(NanoWSD.HEADER_WEBSOCKET_PROTOCOL, headers.get(NanoWSD.HEADER_WEBSOCKE… in serve()
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/
DWebSocketResponseHandlerTest.java133 assertEquals(handshakeResponse.getHeader(NanoWSD.HEADER_WEBSOCKET_PROTOCOL), "chat"); in testHandshakeReturnsResponseWithExpectedHeaders()