Constant penguin::DEFAULT_CONTROL_PATH [−][src]
pub const DEFAULT_CONTROL_PATH: &str = "/~~penguin";
The URI path which is used for penguin internal control functions (e.g. opening WS connections).
We need a path that:
- is unlikely to clash with real paths of existing web applications,
- is still somewhat easy to type and remember (e.g. to send requests via
curl
), and - doesn’t use any invalid or unsafe characters for URLs.
For URI paths, the characters a-z, A-Z, 0-9 and - . _ ~
are “safe”: they
don’t need to be escaped and don’t have a special meaning.