Back to product page
- Introduction
- Overview
- License Agrement
- Getting Started
- Objects
- Enumerations
- wodSSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- ClientName
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encoding
- Encryption
- EncryptionList
- ErrorText
- ExitSignal
- ExitStatus
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyForward
- KeySignatureList
- LastError
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StateText
- StripANSI
- StripNull
- Subsystem
- TerminalSpeed
- TerminalType
- Timeout
- UseIPv6
- Version
- Events
- IwodSSHNotify
- How to get support?
- Technical information
- Fast notifications interface
- Error list
PeekLine method
Receives an incoming line without removing it from the buffer.
Type
A String valueSyntax
- Basic
object.PeekLine ()
The PeekLine(object) syntax has these parts:
The PeekLine(object) syntax has these parts:
object | An expression evaluating to an object of type wodSSH. |
Remarks
The PeekLine method will return a full line of text, if it exists, in the incoming buffer, without removing it from the buffer. wodSSH will remove end-of-line markers (CR/LF) so you don't need to trim this string by yourself. If no line is found, wodSSH will return error 30043 ("None found"), and will not wait for data to arrive.To actually remove data from the incoming buffer, you should use the Receive or ReceiveLine methods.