Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 1.46 KB

Disconnect-TibberWebSocket.md

File metadata and controls

68 lines (47 loc) · 1.46 KB

Disconnect-TibberWebSocket

SYNOPSIS

Close a GraphQL over WebSocket connection.

SYNTAX

Disconnect-TibberWebSocket [-Connection] <Object> [[-TimeoutInSeconds] <Int32>] [<CommonParameters>]

DESCRIPTION

Calling this function will close an established WebSocket connection.

EXAMPLES

EXAMPLE 1

Disconnect-TibberWebSocket -Connection $connection

PARAMETERS

-Connection

Specifies the connection to use for the communication.

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-TimeoutInSeconds

Specifies the time to wait for WebSocket operations, or -1 to wait indefinitely.

Type: Int32
Parameter Sets: (All)
Aliases: Timeout

Required: False
Position: 2
Default value: 10
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Connect-TibberWebSocket

https://developer.tibber.com/docs/guides/calling-api