43 lines
591 B
Protocol Buffer
43 lines
591 B
Protocol Buffer
syntax = "proto2";
|
|
package ss;
|
|
option go_package = ".;ss";
|
|
|
|
message SS_Ping
|
|
{
|
|
|
|
}
|
|
|
|
message SS_Pong
|
|
{
|
|
|
|
}
|
|
|
|
message SS_WSP_SocketDisconnect
|
|
{
|
|
}
|
|
|
|
message SS_ForceCloseSocket
|
|
{
|
|
}
|
|
|
|
message SS_HttpTunnelRequest
|
|
{
|
|
optional int64 context_id = 1;
|
|
optional int32 socket_handle = 2;
|
|
optional string url = 3;
|
|
optional string query_str = 4;
|
|
}
|
|
|
|
message SS_HttpTunnelResponse
|
|
{
|
|
optional int32 error_code = 1;
|
|
optional string error_msg = 2;
|
|
optional int64 context_id = 3;
|
|
optional int32 socket_handle = 4;
|
|
optional string response = 5;
|
|
}
|
|
|
|
message SS_BindUpStreamSocket
|
|
{
|
|
}
|