tailscale.comtailscale.com/control/controlhttp/controlhttpcommon Index | Files

package controlhttpcommon

import "tailscale.com/control/controlhttp/controlhttpcommon"

Package controlhttpcommon contains common constants for used by the controlhttp client and controlhttpserver packages.

Index

Constants

const HandshakeHeaderName = "X-Tailscale-Handshake"

handshakeHeaderName is the HTTP request header that can optionally contain base64-encoded initial handshake payload, to save an RTT.

const UpgradeHeaderValue = "tailscale-control-protocol"

UpgradeHeader is the value of the Upgrade HTTP header used to indicate the Tailscale control protocol.

Source Files

controlhttpcommon.go

Version
v1.84.0 (latest)
Published
May 21, 2025
Platform
linux/amd64
Last checked
1 day ago

Tools for package owners.