emulation

command
v0.0.0-...-90bf800 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 14 Imported by: 0

README

Example demonstrates an experimental bidirectional emulation feature.

Server has several bidirectional endpoints:

  1. WebSocket
  2. Http stream endpoint (which works over emulation layer)
  3. 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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL