Crate websocat[−][src]
Note: library usage is not semver/API-stable
Type evolution of a websocat run:
&str
- string as passed to command line. When it meets the list ofSpecifierClass
es, there appears:Specifier
- more organized representation, may be nested. Whenconstruct
is called, we get:PeerConstructor
- a future or stream that returns one or more connections. After completion, we get one or more of:Peer
- an active connection. Once we have two of them, we can start a:Session
with twoTransfer
s - forward and reverse.
Re-exports
pub use specparse::spec; |
Modules
Macros
list_of_all_specifier_classes |
Structs
ConstructParams | |
LeftSpecToRightSpec |
Some information passed from the left specifier Peer to the right |
OneSpecifierInfo | |
Options | |
Peer | |
ProgramState | |
ReadDebt |
A |
Session | |
SpecifierInfo | |
Transfer | |
WebsocatConfiguration |
Enums
PeerConstructor | |
SpecifierType |
For checking specifier combinations for problems |
Traits
Specifier |
A parsed command line argument.
For example, |
SpecifierClass |
A trait for a each specified type's accompanying object |
Functions
box_up_err | |
multi | |
once | |
peer_err | |
peer_err_s | |
peer_from_str | |
peer_strerr | |
serve | |
simple_err |
Type Definitions
BoxedNewPeerFuture | |
BoxedNewPeerStream | |
PeerOverlay |