websocketutil

package
v0.0.0-...-2414c48 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package websocketutil implements calls to assist handling with Websocket connections.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsWebsocketRequest

func IsWebsocketRequest(req *http.Request) bool

IsWebsocketRequest detects if the HTTP request has the websocket upgrade header.

func Proxy

func Proxy(target string) http.Handler

Proxy returns a http.Handler capable of forwarding Websocket connections.

Types

This section is empty.

Jump to

Keyboard shortcuts

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