Read PodeTcpClient - mdaneri/Pode GitHub Wiki
external help file: Pode-help.xml Module Name: Pode online version: PodeType: Responses schema: 2.0.0
Reads data from a TCP socket stream.
Read-PodeTcpClient [-Timeout <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Read-PodeTcpClient [-Timeout <Int32>] [-CheckBytes <Byte[]>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Read-PodeTcpClient [-Timeout <Int32>] [-CRLFMessageEnd] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
Reads data from a TCP socket stream.
$data = Read-PodeTcpClient
$data = Read-PodeTcpClient -CRLFMessageEnd
An optional array of bytes to check at the end of a receievd data stream, to determine if the data is complete.
Type: Byte[]
Parameter Sets: CheckBytes
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIf supplied, the CheckBytes will be set to 13 and 10 to make sure a message ends with CR and LF.
Type: SwitchParameter
Parameter Sets: CRLF
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseAn optional Timeout in milliseconds.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.