Documentation
¶
Rendered for js/wasm
Index ¶
Constants ¶
View Source
const ( RDCleanPathVersion = 3390 RDCleanPathProxyHost = "rdcleanpath.proxy.local" RDCleanPathProxyScheme = "ws" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RDCleanPathPDU ¶
type RDCleanPathPDU struct { Version int64 `asn1:"tag:0,explicit"` Error []byte `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
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.