|
@@ -53,9 +53,15 @@ The client will choose randomly and the server will verify if not empty.
|
|
|
|
|
|
#### path
|
|
|
|
|
|
+!!! warning
|
|
|
+
|
|
|
+ V2Ray's documentation says that the path between the server and the client must be consistent,
|
|
|
+ but the actual code allows the client to add any suffix to the path.
|
|
|
+ sing-box uses the same behavior as V2Ray, but note that the behavior does not exist in `WebSocket` and `HTTPUpgrade` transport.
|
|
|
+
|
|
|
Path of HTTP request.
|
|
|
|
|
|
-The server will verify if not empty.
|
|
|
+The server will verify.
|
|
|
|
|
|
#### method
|
|
|
|
|
@@ -77,7 +83,10 @@ Specifies the time until idle clients should be closed with a GOAWAY frame. PING
|
|
|
|
|
|
In HTTP2 client:
|
|
|
|
|
|
-Specifies the period of time after which a health check will be performed using a ping frame if no frames have been received on the connection. Please note that a ping response is considered a received frame, so if there is no other traffic on the connection, the health check will be executed every interval. If the value is zero, no health check will be performed.
|
|
|
+Specifies the period of time after which a health check will be performed using a ping frame if no frames have been
|
|
|
+received on the connection.Please note that a ping response is considered a received frame, so if there is no other
|
|
|
+traffic on the connection, the health check will be executed every interval. If the value is zero, no health check will
|
|
|
+be performed.
|
|
|
|
|
|
Zero is used by default.
|
|
|
|
|
@@ -85,7 +94,9 @@ Zero is used by default.
|
|
|
|
|
|
In HTTP2 client:
|
|
|
|
|
|
-Specifies the timeout duration after sending a PING frame, within which a response must be received. If a response to the PING frame is not received within the specified timeout duration, the connection will be closed. The default timeout duration is 15 seconds.
|
|
|
+Specifies the timeout duration after sending a PING frame, within which a response must be received.
|
|
|
+If a response to the PING frame is not received within the specified timeout duration, the connection will be closed.
|
|
|
+The default timeout duration is 15 seconds.
|
|
|
|
|
|
### WebSocket
|
|
|
|
|
@@ -103,12 +114,14 @@ Specifies the timeout duration after sending a PING frame, within which a respon
|
|
|
|
|
|
Path of HTTP request.
|
|
|
|
|
|
-The server will verify if not empty.
|
|
|
+The server will verify.
|
|
|
|
|
|
#### headers
|
|
|
|
|
|
Extra headers of HTTP request.
|
|
|
|
|
|
+The server will write in response if not empty.
|
|
|
+
|
|
|
#### max_early_data
|
|
|
|
|
|
Allowed payload size is in the request. Enabled if not zero.
|
|
@@ -162,7 +175,8 @@ Service name of gRPC.
|
|
|
|
|
|
In standard gRPC server/client:
|
|
|
|
|
|
-If the transport doesn't see any activity after a duration of this time, it pings the client to check if the connection is still active.
|
|
|
+If the transport doesn't see any activity after a duration of this time,
|
|
|
+it pings the client to check if the connection is still active.
|
|
|
|
|
|
In default gRPC server/client:
|
|
|
|
|
@@ -172,7 +186,8 @@ It has the same behavior as the corresponding setting in HTTP transport.
|
|
|
|
|
|
In standard gRPC server/client:
|
|
|
|
|
|
-The timeout that after performing a keepalive check, the client will wait for activity. If no activity is detected, the connection will be closed.
|
|
|
+The timeout that after performing a keepalive check, the client will wait for activity.
|
|
|
+If no activity is detected, the connection will be closed.
|
|
|
|
|
|
In default gRPC server/client:
|
|
|
|
|
@@ -182,7 +197,9 @@ It has the same behavior as the corresponding setting in HTTP transport.
|
|
|
|
|
|
In standard gRPC client:
|
|
|
|
|
|
-If enabled, the client transport sends keepalive pings even with no active connections. If disabled, when there are no active connections, `idle_timeout` and `ping_timeout` will be ignored and no keepalive pings will be sent.
|
|
|
+If enabled, the client transport sends keepalive pings even with no active connections.
|
|
|
+If disabled, when there are no active connections, `idle_timeout` and `ping_timeout` will be ignored and no keepalive
|
|
|
+pings will be sent.
|
|
|
|
|
|
Disabled by default.
|
|
|
|
|
@@ -207,7 +224,7 @@ The server will verify if not empty.
|
|
|
|
|
|
Path of HTTP request.
|
|
|
|
|
|
-The server will verify if not empty.
|
|
|
+The server will verify.
|
|
|
|
|
|
#### headers
|
|
|
|