-
quic-go transport is probably not usable with resty. Is there any other recommended way? |
Beta Was this translation helpful? Give feedback.
Answered by
jeevatkm
May 3, 2024
Replies: 1 comment
-
@rew1nter Go lang has not yet added HTTP3 to the standard library; I will have to wait for that. Reference: https://quic-go.net/docs/http3/client/ roundTripper := &http3.RoundTripper{
TLSClientConfig: &tls.Config{}, // set a TLS client config, if desired
QUICConfig: &quic.Config{}, // QUIC connection options
}
client := resty.New().SetTransport(roundTripper)
// then typical use of resty happens Give it a try. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rew1nter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@rew1nter Go lang has not yet added HTTP3 to the standard library; I will have to wait for that.
However, based on the quic-go library, there is a possibility to use quick-go lib with Resty.
Reference: https://quic-go.net/docs/http3/client/
Give it a try.