Documentation
¶
Rendered for js/wasm
Index ¶
Constants ¶
View Source
const ( RDCleanPathVersion = 3390 RDCleanPathProxyHost = "rdcleanpath.proxy.local" RDCleanPathProxyScheme = "ws" GeneralErrorCode = 1 WSAETimedOut = 10060 WSAEConnRefused = 10061 WSAEConnAborted = 10053 WSAEConnReset = 10054 WSAEGenericError = 10050 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RDCleanPathErr ¶ added in v0.59.6
type RDCleanPathPDU ¶
type RDCleanPathPDU struct {
Version int64 `asn1:"tag:0,explicit"`
Error RDCleanPathErr `asn1:"tag:1,explicit,optional"`
Destination string `asn1:"utf8,tag:2,explicit,optional"`
ProxyAuth string `asn1:"utf8,tag:3,explicit,optional"`
ServerAuth string `asn1:"utf8,tag:4,explicit,optional"`
PreconnectionBlob string `asn1:"utf8,tag:5,explicit,optional"`
X224ConnectionPDU []byte `asn1:"tag:6,explicit,optional"`
ServerCertChain [][]byte `asn1:"tag:7,explicit,optional"`
ServerAddr string `asn1:"utf8,tag:9,explicit,optional"`
}
type RDCleanPathProxy ¶
type RDCleanPathProxy struct {
// contains filtered or unexported fields
}
func NewRDCleanPathProxy ¶
func NewRDCleanPathProxy(client interface {
Dial(ctx context.Context, network, address string) (net.Conn, error)
}) *RDCleanPathProxy
NewRDCleanPathProxy creates a new RDCleanPath proxy
func (*RDCleanPathProxy) CreateProxy ¶
func (p *RDCleanPathProxy) CreateProxy(hostname, port string) js.Value
CreateProxy creates a new proxy endpoint for the given destination. The registered handler fn and its destinations/pendingHandlers entries are only released once a connection is established and cleanupConnection runs. If a caller invokes CreateProxy but never connects to the returned URL, those entries stay pinned for the lifetime of the page.
func (*RDCleanPathProxy) HandleWebSocketConnection ¶
func (p *RDCleanPathProxy) HandleWebSocketConnection(ws js.Value, proxyID string)
HandleWebSocketConnection handles incoming WebSocket connections from IronRDP
Click to show internal directories.
Click to hide internal directories.