webrtchttp

package module
v0.0.0-...-23cf52a Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: MIT Imports: 11 Imported by: 2

README

webrtchttp

http over webrtc server/client

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebRTCRoundTripperST

type WebRTCRoundTripperST struct {
	// contains filtered or unexported fields
}

func NewRoundTripper

func NewRoundTripper(channel *webrtc.DataChannel) *WebRTCRoundTripperST

func (*WebRTCRoundTripperST) Close

func (roundTripper *WebRTCRoundTripperST) Close() error

func (*WebRTCRoundTripperST) RoundTrip

func (roundTripper *WebRTCRoundTripperST) RoundTrip(request *http.Request) (*http.Response, error)

type WebRTCServerST

type WebRTCServerST struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(channel *webrtc.DataChannel, handler http.HandlerFunc) *WebRTCServerST

func (*WebRTCServerST) Close

func (server *WebRTCServerST) Close() error

Directories

Path Synopsis
example module

Jump to

Keyboard shortcuts

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