Discover Packages
github.com/costinm/ugate/ext/h2r
package
module
Version:
v0.0.0-...-af1ce48
Opens a new window with list of versions in this module.
Published: Aug 2, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
DialMUX creates one connection to a mesh node, using one of the
supported multiplex protocols.
HandleH2R takes a POST "/h2r/" request and set the stream as a H2 client connection.
It will start by sending a test "id" request, and associate the muxed connection to the
node.
Blocks until str.Close().
H2RMux is a mux using H2 frames.
Based on ALPN, may use raw frames.
NewStream opens a H2 stream. No H2 header (empty) - this matches QUIC streams
H2Stream is a multiplexed stream.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.