From 0cebef2fa3e49fb86ed0d6a9a16116329fd49223 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Thu, 19 Sep 2024 19:01:03 +0800 Subject: [PATCH] minor changes to the client page --- content/docs/masque/client.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/docs/masque/client.md b/content/docs/masque/client.md index 1b46553..2481c0f 100644 --- a/content/docs/masque/client.md +++ b/content/docs/masque/client.md @@ -6,7 +6,7 @@ weight: 2 ## Setting up a Proxied Connection -A client needs to be configured with the same URI template as the proxy. For more information on URI templates, see the [URI Templates]({{< relref "proxy#uri-templates" >}}) section on the proxy page. +A client needs to be configured with the same URI template as the proxy. For more information on URI templates, see [URI Templates]({{< relref "proxy#uri-templates" >}}). ```go t := uritemplate.MustNew("https://example.org:4443/masque?h={target_host}&p={target_port}") @@ -37,9 +37,11 @@ if rsp.StatusCode < 200 && rsp.StatusCode > 299 { // The response status code and body might contain more information. return } -// use conn to send and receive UDP packets to the target +// use conn to send and receive UDP datagrams to the target ``` +Multiple UDP flows can be proxied over the same QUIC connection to the proxy by calling `DialAddr` and / or `Dial` multiple times on the same `Client`. + ## 📝 Future Work * Logging / Tracing: [#59](https://github.com/quic-go/masque-go/issues/59)