mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-01-19 01:01:41 +03:00
Make global transport settings deprecated (english)
This commit is contained in:
parent
8e9920628f
commit
cb45cdf7eb
@ -6,13 +6,16 @@ Transports specify how to achieve stable data transmission. Both ends of a conne
|
||||
|
||||
Transport configuration consists of two parts:
|
||||
|
||||
1. Global config ([TransportObject](#transportobject))
|
||||
1. ~~Global config ([TransportObject](#transportobject)) (deprecated)~~
|
||||
2. Local config ([StreamSettingsObject](#streamsettingsobject)).
|
||||
|
||||
- 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.
|
||||
|
||||
## TransportObject
|
||||
<details>
|
||||
<summary>Global configuration (deprecated)</summary>
|
||||
|
||||
## TransportObject (deprecated)
|
||||
|
||||
The `TransportObject` corresponds to the `transport` property in the config root.
|
||||
|
||||
@ -68,6 +71,8 @@ Configures Domain Socket connections.
|
||||
|
||||
Configures SplitHTTP connections.
|
||||
|
||||
</details>
|
||||
|
||||
## 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user