Skip to content

[question] Using tungstenite with ctru-rs for wss websocket #207

@lrk

Description

@lrk

Hi,

I'm fairly new to both rust, crtu-rs and Hombrew related stuff in general but i'm trying to code a mini game client for a friend's game that use websocket for data communication.

It work fine connecting my local, non ssl, websocket server, both tungstenite + serde_json.

Now i'm trying to connect to the game server, online, but it use ssl websocket and i'm having trouble to find how it works with ctru-rs.

I saw the SslC service, but beside how enabling it, did not find much info on how to use it or tell tungstenite to use it. For the later part, i suspect i'll have to provide a ssl provider ?

Anyway, if anyone know how to do that, or want to provide some guidance, it will help a lot.

Have a nice day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions