[−][src]Function rouille::websocket::requested_protocols
ⓘImportant traits for RequestedProtocolsIter
pub fn requested_protocols(request: &Request) -> RequestedProtocolsIter
Returns a list of the websocket protocols requested by the client.
Example
use rouille::websocket; for protocol in websocket::requested_protocols(&request) { // ... }