IHandler CreateCloseFrame Method WebDriver
Creates a frame for close messages in the WebSocket protocol.

Namespace: OpenQA.Selenium.Safari.Internal
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

byte[] CreateCloseFrame(
	int code
)

Parameters

code
Type: OnlineSystem Int32
The connection close code of the message.

Return Value

A byte array containing the message frame.
See Also