Skip to main content

Module proxy

Module proxy 

Source
Expand description

MSC4512: the paths an appservice claims and the requests forwarded to it.

The claim grammar is shared with fed_proxy; the send goes through the appservice’s own client pool, so a proxy URL takes the forms url does.

Re-exportsΒ§

use bytes::Bytes; πŸ”’
use http::Error as HttpError; πŸ”’
use http::HeaderValue; πŸ”’
use http::Request as HttpRequest; πŸ”’
use http::Uri; πŸ”’
use http::header::AUTHORIZATION; πŸ”’
use http::uri::PathAndQuery; πŸ”’
use reqwest::Request; πŸ”’
use reqwest::Response; πŸ”’
use tuwunel_core::Result; πŸ”’
use tuwunel_core::err; πŸ”’
use tuwunel_core::implement; πŸ”’
use tuwunel_core::warn; πŸ”’
use super::RegistrationInfo; πŸ”’

EnumsΒ§

Root
MSC4512: the API a proxied path belongs to.

FunctionsΒ§

split_path
MSC4512: splits a raw request path into its API and the remainder after the version.
with_credentials πŸ”’