userver: pytest_userver.chaos.GateRoute Class Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
pytest_userver.chaos.GateRoute Class Reference

Detailed Description

Class that describes the route for TcpGate or UdpGate.

Use port_for_client == 0 to bind to some unused port. In that case the actual address could be retrieved via BaseGate.get_sockname_for_clients().

Definition at line 36 of file chaos.py.

Static Public Attributes

str host_for_client = '127.0.0.1'
 
int port_for_client = 0
 

Member Data Documentation

◆ host_for_client

str pytest_userver.chaos.GateRoute.host_for_client = '127.0.0.1'
static

Definition at line 49 of file chaos.py.

◆ port_for_client

int pytest_userver.chaos.GateRoute.port_for_client = 0
static

Definition at line 50 of file chaos.py.


The documentation for this class was generated from the following file: