mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"name": "WebSocket",
|
|
"author": "Brendan Coles <bcoles@gmail.com>",
|
|
"version": "0.1",
|
|
"description": "WebSocket is a technology providing for bi-directional, full-duplex communications channels, over a single Transmission Control Protocol (TCP) socket. - More info: https://secure.wikimedia.org/wikipedia/en/wiki/WebSocket - Protocol: https://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-12",
|
|
"website": null,
|
|
"matches": [
|
|
{
|
|
"search": "headers[upgrade]",
|
|
"regexp": "(?i-mx:^WebSocket$)"
|
|
},
|
|
{
|
|
"search": "headers[websocket-location]",
|
|
"regexp": "(?-mix:^(wss?:\\/\\/.+))"
|
|
},
|
|
{
|
|
"search": "headers[sec-websocket-location]",
|
|
"regexp": "(?-mix:^(wss?:\\/\\/.+))"
|
|
},
|
|
{
|
|
"search": "headers[sec-websocket-version-server]",
|
|
"regexp": "(?-mix:(.+))",
|
|
"offset": 1
|
|
},
|
|
{
|
|
"search": "headers[sec-websocket-protocol]",
|
|
"regexp": "(?-mix:(.+))"
|
|
}
|
|
]
|
|
}
|