Settings
Help

Module proxy

Module proxy 

Source
Expand description

A simple reverse-proxy implementation for onion services.

StructsΒ§

OnionServiceReverseProxy
A reverse proxy that handles connections from an OnionService by routing them to local addresses.
State πŸ”’
Mutable part of an RProxy

EnumsΒ§

HandleRequestsError
An error that prevents further progress while processing requests.
RequestFailed πŸ”’
An error from a single attempt to handle an onion service request.

FunctionsΒ§

copy_interactive πŸ”’
Copy all the data from reader into writer until we encounter an EOF or an error.
forward_connection πŸ”’
Try to open a connection to an appropriate local target using target_stream_future. If successful, try to report success on request and transmit data between the two stream indefinitely. On failure, close request.
run_action πŸ”’
Take the configured action from action on the incoming request request.