[][src]Module torut::utils

Structs

AutoKillChild

AutoKillChild is kind of bag which contains Child. It makes it automatically commit suicide after it gets dropped.

UnquoteStringError

Functions

parse_single_key_value

parse_single_key_value parses response in following format:

quote_string

quote_string takes arbitrary binary data and encodes it using octal encoding. For \n \t and \r it uses these backslash notation rather than octal encoding.

run_tor

run_tor runs new tor from specified path with specified args. It should not be used when control port is disabled.

unquote_string

unquote_string performs string unquoting According to torCP docs it parses QuotedString token.