rapiz1 / rathole

A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.
Apache License 2.0
9.8k stars 488 forks source link

Request to support wss protocol between client and server #198

Closed aa51513 closed 1 year ago

aa51513 commented 2 years ago

Feature Proposed

Already know that 3 protocols are currently supported, they are ["tcp", "tls", "noise"]

Use Case

Request to support wss protocol between client and server

fernvenue commented 2 years ago

Duplicate of https://github.com/rapiz1/rathole/issues/134.

woOzZ2 commented 1 year ago

134的副本。

134 所讨论的貌似不是客户端和服务端之间的传输协议。

需要被支持的是一下配置中

[client.transport] # The whole block is optional. Specify which transport to use
type = "tcp" # Optional. Possible values: ["tcp", "tls", "noise"]. Default: "tcp"

可以支持type = wss

fernvenue commented 1 year ago

That's exactly the same thing.

woOzZ2 commented 1 year ago

That's exactly the same thing.

hah,不好意思我口误了,我的意思是本issuse是新功能请求的意思,需要客户端和服务端使用wss通信酱紫。 现在最新版是无法配置type = wss的,这样的话有利于穿越CDN来部署

fernvenue commented 1 year ago

@woOzZ2 That's exactly what #134 is talking about, transport type means the protocol between client and server.

woOzZ2 commented 1 year ago

@woOzZ2 That's exactly what #134 is talking about, transport type means the protocol between client and server.

意思是目前支持wss作为传输协议吗?能配置type = wss?

fernvenue commented 1 year ago

@woOzZ2 Nope, just means that we don't need a duplicate issue about that, as you can see, this one closed as not planned instead of completed.