command
Version:
v0.0.0-...-90bf800
Opens a new window with list of versions in this module.
Published: Apr 20, 2024
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Example demonstrates an experimental bidirectional emulation feature.
Server has several bidirectional endpoints:
- WebSocket
- Http stream endpoint (which works over emulation layer)
- SSE endpoint (which works over emulation layer)
To start example run the following command from example directory:
go run main.go
Then go to http://localhost:8000 to see it in action.
You can disable WebSocket handler on server and see how client will use fallback transports.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.