Table of Contents

Class WebSocketHttpRequest

Namespace
OpenQA.Selenium.Safari.Internal
Assembly
WebDriver.dll

Defines an HTTP request via the WebSocket protocol.

public class WebSocketHttpRequest
Inheritance
WebSocketHttpRequest
Inherited Members

Constructors

WebSocketHttpRequest()

public WebSocketHttpRequest()

Properties

Body

Gets or sets the body of the request

public string Body { get; set; }

Property Value

string

Headers

Gets the headers for the request.

public IDictionary<string, string> Headers { get; }

Property Value

IDictionary<string, string>

this[string]

Gets or sets the value associated with the specified header.

public string this[string name] { get; }

Parameters

name string

The name of the header.

Property Value

string

The value of the header, if it exists. If it does not exist, returns an empty string.

Method

Gets or sets the HTTP method of the request.

public string Method { get; set; }

Property Value

string

Path

Gets or sets the path of the request.

public string Path { get; set; }

Property Value

string

Payload

Gets or sets the WebSocket payload of the request.

public byte[] Payload { get; set; }

Property Value

byte[]

Scheme

Gets or sets the scheme of the request.

public string Scheme { get; set; }

Property Value

string