Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ssh2
v1.7.0
SSH2
Agent
PublicKey
Channel
StreamIO
KnownHosts
Host
Listener
Session
SessionError
SFTP
Attributes
Flags
Base
Dir
File
Node
Session
SFTPClosed
SFTPError
BadMessage
ConnectionLost
DirNotEmpty
EOF
Failure
FileAlreadyExists
InvalidFilename
InvalidHandle
LinkLoop
LockConflict
NoConnection
NoMedia
NoSpaceOnFs
NoSuchFile
NotADirectory
PermissionDenied
QuotaExceeded
UnknownPrincipal
Unsupported
WriteProtect
SSH2Error
TerminalMode
Generated using Crystal 1.14.0
2024-11-12 19:20:03 UTC
class
SSH2::
Listener
SSH2::Listener
Reference
Object
Defined in:
listener.cr
Constructors
.new
(session, handle : LibSSH2::Listener, bound_port)
Instance Method Summary
#accept
#bound_port
#cancel
#canceled?
: Bool
#finalize
#session
#to_unsafe
: Pointer(Void)
Constructor Detail
def self.
new
(session, handle : LibSSH2::Listener, bound_port)
#
[
View source
]
Instance Method Detail
def
accept
#
[
View source
]
def
bound_port
#
[
View source
]
def
cancel
#
[
View source
]
def
canceled?
: Bool
#
[
View source
]
def
finalize
#
[
View source
]
def
session
#
[
View source
]
def
to_unsafe
: Pointer(Void)
#
[
View source
]