Module: vertx/network_support

vertx/network_support

new require("vertx/network_support")(delegate)

Provides common parameters that can be set on network objects. Do not use this directly.
Parameters:
Name Type Description
delegate external:NetworkSupport The Java delegate for most functions
Source:
See:
This module provides mixin functions for Vert.x networking objects. Functions defined in this module are exposed through objects in module:vertx/net and module:vertx/http.
Source:

Methods

receiveBufferSize(size) → {number|Object}

Set or get the receive buffer size
Parameters:
Name Type Argument Description
size number <optional>
If provided, set the value; if not, returns the current value.
Source:
Returns:
the value or this
Type
number | Object

reuseAddress(reuse) → {boolean|Object}

Set or get the TCP reuse address value
Parameters:
Name Type Argument Description
reuse boolean <optional>
If provided, set the value; if not, returns the current value.
Source:
Returns:
the value or this
Type
boolean | Object

sendBufferSize(size) → {number|Object}

Set or get the send buffer size
Parameters:
Name Type Argument Description
size number <optional>
If provided, set the value; if not, returns the current value.
Source:
Returns:
the value or this
Type
number | Object

trafficClass(class) → {number|Object}

Set or get the TCP traffic class
Parameters:
Name Type Argument Description
class number <optional>
If provided, set the value; if not, returns the current value.
Source:
Returns:
the value or this
Type
number | Object