Skip to content

accessing quinn ClientBuilder options from the web_transport::Client #135

Description

@jin-eld

Hi,

I am developing an application which supports both, browser WASM32 and native and I ran into the following issue.

I'd like to provide an option to disable certificate verification, I understand, that this would not work on WASM, but it would be nice to be able to still use the web_transport::Client which sits on top of WASM and native, instead of having to split the code by platform and go the web-transport-quinn::Client route.

For instance, web-transrpot::Client already provides:

pub fn with_unreliable(self, val: bool) -> Self

For compatibility with WASM. Panics if val is false, but does nothing else.

..and having something similar for pub fn with_no_certificate_verification(self) would be very helpful.

Would you consider looking at this or is there perhaps an existing way in the API which I am not seeing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions