Browse Source

Make global transport settings deprecated (english)

pull/526/head
mmmray 5 months ago
parent
commit
cb45cdf7eb
  1. 9
      docs/en/config/transport.md

9
docs/en/config/transport.md

@ -6,13 +6,16 @@ Transports specify how to achieve stable data transmission. Both ends of a conne
Transport configuration consists of two parts: Transport configuration consists of two parts:
1. Global config ([TransportObject](#transportobject)) 1. ~~Global config ([TransportObject](#transportobject)) (deprecated)~~
2. Local config ([StreamSettingsObject](#streamsettingsobject)). 2. Local config ([StreamSettingsObject](#streamsettingsobject)).
- When locally configured, you can specify how each inbound or outbound connection is transmitted individually. - When locally configured, you can specify how each inbound or outbound connection is transmitted individually.
- Server inbounds and client outbounds often need to use the same transport protocol. When a transport protocol is specified without local configs, the transport will fall back to global transport configs. - Server inbounds and client outbounds often need to use the same transport protocol. When a transport protocol is specified without local configs, the transport will fall back to global transport configs.
## TransportObject <details>
<summary>Global configuration (deprecated)</summary>
## TransportObject (deprecated)
The `TransportObject` corresponds to the `transport` property in the config root. The `TransportObject` corresponds to the `transport` property in the config root.
@ -68,6 +71,8 @@ Configures Domain Socket connections.
Configures SplitHTTP connections. Configures SplitHTTP connections.
</details>
## StreamSettingsObject ## StreamSettingsObject
`StreamSettingsObject` corresponds to the `streamSettings` property in the inbound or outbound config. Each inbound or outbound can be configured with different transports and can use `streamSettings` to specify local configs. `StreamSettingsObject` corresponds to the `streamSettings` property in the inbound or outbound config. Each inbound or outbound can be configured with different transports and can use `streamSettings` to specify local configs.

Loading…
Cancel
Save