Constructor
new HttpClient(serverUrl, opt_agentopt, opt_proxyopt, nullable, client_optionsnullable)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
serverUrl | string | URL for the WebDriver server to send commands to. | |
opt_agent | http. | <optional> | The agent to use for each request. Defaults to |
opt_proxy | string | <optional> <nullable> | The proxy to use for the connection to the server. Default is to use no proxy. |
client_options | Object.<string, Object> | <nullable> |
- Implements
- httpLib.Client
- Source
Members
client_options
client options, header overrides
- Source
keepAlive
sets keep-alive for the agent see https://stackoverflow.com/a/58332910
- Source
Methods
send()
- Source