Close a GraphQL over WebSocket connection.
Disconnect-TibberWebSocket [-Connection] <Object> [[-TimeoutInSeconds] <Int32>] [<CommonParameters>]
Calling this function will close an established WebSocket connection.
Disconnect-TibberWebSocket -Connection $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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.