socks_router.parsers

Attributes

logger

whitespace

whitespaces

ipv4_octet

ipv6_doublet

ipv4

h16

ls32

ipv6

port

ipv4_address

ipv6_address

hostname

host_address

address

scheme

upstream_address

comment

pattern

routing_rule

routing_table

pysocks_socks5_error

Functions

trace(→ trace.T)

parse_sockaddr(→ socks_router.models.Address)

Module Contents

logger
trace(value: trace.T) trace.T[source]
whitespace: parsec.Parser[str]
whitespaces: parsec.Parser[list[str]]
ipv4_octet: parsec.Parser[int]
ipv6_doublet: parsec.Parser[int]
ipv4: parsec.Parser[str]
h16: parsec.Parser[str]
ls32: parsec.Parser[str]
ipv6: parsec.Parser[str]
port
ipv4_address: parsec.Parser[socks_router.models.IPv4]
ipv6_address: parsec.Parser[socks_router.models.IPv6]
hostname: parsec.Parser[str]
host_address: parsec.Parser[socks_router.models.Host]
address: parsec.Parser[socks_router.models.Address]
scheme: parsec.Parser[socks_router.models.UpstreamScheme]
upstream_address: parsec.Parser[socks_router.models.UpstreamAddress]
comment: parsec.Parser[str]
pattern: parsec.Parser[socks_router.models.Pattern]
routing_rule: parsec.Parser[tuple[socks_router.models.UpstreamAddress, socks_router.models.RoutingEntry]]
routing_table: parsec.Parser[socks_router.models.RoutingTable]
parse_sockaddr(sockaddr: tuple[parse_sockaddr.S, int]) socks_router.models.Address[source]
pysocks_socks5_error: parsec.Parser[tuple[socks_router.models.Socks5ReplyType, str]]