Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Invisv-Privacy/masque
/ types & classes
Types & classes
10 in github.com/Invisv-Privacy/masque
⨍
Functions
66
◇
Types & classes
10
Struct
Client
Client is a MASQUE HTTP/2 client that supports HTTP CONNECT and CONNECT-UDP. All CONNECT requests are multiplexed using a HTTP/2 transport. Each CONNE
http2/client.go:42
Struct
Client
Client is an object that should not be initialized manually. Please call NewClient() to get a correctly initialized client.
http3/client.go:33
Struct
ClientConfig
ClientConfig is a configuration for a MASQUE client to be used to set the configuration of a new Client to be created.
http2/client.go:62
Struct
ClientConfig
ClientConfig is options to give when creating a new Client with NewClient(). Note that sane defaults are used when value is not provided/initialized.
http3/client.go:76
Struct
Conn
Conn represents a HTTP CONNECT or CONNECT-UDP connection. Each connection has a unique stream ID, specified by the |sid| field, and a pair of I/O han
http2/conn.go:41
Struct
DatagramStream
DatagramStream is an object for Proxied UDP Streams that implements I/O functionality. This object contains information necessary to communicate with
http3/client.go:118
Struct
NetConnWrapper
We want an interface that can implement net.Conn so we need to add these methods But we do not expect them to be called during our tests
internal/testutils/testutils.go:22
FuncType
SocketProtector
SocketProtector is a type representing a function that overrides Android's VpnService.protect(). Android's VPN hooks are necessary to capture and red
http2/android.go:14
FuncType
connCleanupFunc
connCleanupFunc is called when a Conn is no longer going to be used (such as after Close()). It takes a bool that is true if this is a TCP connection
http2/conn.go:28
FuncType
connFailFunc
A connFailFunc is called when a Relay stream creation fails. It is given the connection being proxied so it can reply to the client if needed.
example/preproxy/main.go:319