MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / OnX11Request

Method OnX11Request

internal/sshserver/handler.go:387–387  ·  view source on GitHub ↗

OnX11Request is called when the client requests the forwarding of X11 connections from the container to the client. This method may be called after a program is started. The implementation can return an error to reject the request. requestID is an incrementing number uniquely identifying the reques

(
		requestID uint64,
		singleConnection bool,
		protocol string,
		cookie string,
		screen uint32,
		reverseHandler ReverseForward,
	)

Source from the content-addressed store, hash-verified

385 // screen is the X11 screen number
386 // reverseHandler is a callback interface to signal when new connections are made
387 OnX11Request(
388 requestID uint64,
389 singleConnection bool,
390 protocol string,

Callers 3

OnX11RequestMethod · 0.65
OnX11RequestMethod · 0.65
onX11Method · 0.65

Implementers 8

sessionChannelHandlerinternal/auditlogintegration/handler_s
backendHandlerinternal/auditlogintegration/integrati
sessionHandlerinternal/security/handler_session.go
dummyBackendinternal/security/handler_session_test
channelHandlerinternal/kubernetes/channelHandler.go
AbstractSessionChannelHandlerinternal/sshserver/AbstractSessionChan
dummySessioninternal/metricsintegration/integratio
sshChannelHandlerinternal/sshproxy/sshChannelHandler.go

Calls

no outgoing calls

Tested by

no test coverage detected