|(require (planet "url.ss" ("murphy" "websockets.plt" 1 0)))|
This module provides convenient accessors for URL structures that represent WebSocket URLs. It also reexports all URL structure functionality and the and procedures.
Checks whether the given value is a WebSocket URL. The result is #t iff v is a structure, has the scheme "ws" or "wss", is absolute and contains no fragment.
Checks whether the given WebSocket URL specifies a secure connection.
Determines the default TCP port that would be used to connect to the given WebSocket url if it contained no explicitly specified port number.
Determines the TCP port that should be used to connect to the given WebSocket url.
Extracts the resource part of the given WebSocket url as a string.