mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-02-22 17:33:13 +03:00
Add code block and refine
This commit is contained in:
parent
9c928fc0d8
commit
455e806ffe
@ -763,7 +763,7 @@ Xray-core v1.8.6 新增参数。<br>
|
|||||||
|
|
||||||
使用前请确保你了解 Linux Socket 编程。
|
使用前请确保你了解 Linux Socket 编程。
|
||||||
|
|
||||||
```
|
```json
|
||||||
"customSockopt": [
|
"customSockopt": [
|
||||||
{
|
{
|
||||||
"type": "str",
|
"type": "str",
|
||||||
@ -774,19 +774,19 @@ Xray-core v1.8.6 新增参数。<br>
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
>> `type`: ""
|
> `type`: ""
|
||||||
|
|
||||||
必填,设置的类型,目前可选int或str.
|
必填,设置的类型,目前可选int或str.
|
||||||
|
|
||||||
>> `level`: ""
|
> `level`: ""
|
||||||
|
|
||||||
可选,协议级别,用于指定生效范围,默认为6, 即TCP.
|
可选,协议级别,用于指定生效范围,默认为6, 即TCP.
|
||||||
|
|
||||||
>> `opt`: ""
|
> `opt`: ""
|
||||||
|
|
||||||
操作的选项名称,使用十进制(此处示例为 TCP_CONGESTION 的值 定义为 0xd 转换为10进制即为13)
|
操作的选项名称,使用十进制(此处示例为 TCP_CONGESTION 的值 定义为 0xd 转换为10进制即为13)
|
||||||
|
|
||||||
>> `value`: ""
|
> `value`: ""
|
||||||
|
|
||||||
要设置的选项值,此处示例为设置为bbr.
|
要设置的选项值,此处示例为设置为bbr.
|
||||||
|
|
||||||
|
@ -679,7 +679,7 @@ An array for advanced users to specify any sockopt. In theory, all the above con
|
|||||||
|
|
||||||
Please make sure you understand Linux socket programming before using it.
|
Please make sure you understand Linux socket programming before using it.
|
||||||
|
|
||||||
```
|
```json
|
||||||
"customSockopt": [
|
"customSockopt": [
|
||||||
{
|
{
|
||||||
"type": "str",
|
"type": "str",
|
||||||
@ -690,19 +690,19 @@ Please make sure you understand Linux socket programming before using it.
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
>> `type`: ""
|
> `type`: ""
|
||||||
|
|
||||||
Required, the type of setting, valid values are `int` or `str`.
|
Required, the type of setting, valid values are `int` or `str`.
|
||||||
|
|
||||||
>> `level`: ""
|
> `level`: ""
|
||||||
|
|
||||||
Optional, protocol level, used to specify the effective range, the default is `6`, which is TCP.
|
Optional, protocol level, used to specify the effective range, the default is `6`, which is TCP.
|
||||||
|
|
||||||
>> `opt`: ""
|
> `opt`: ""
|
||||||
|
|
||||||
The option name of the operation, using decimal (the example here is that the value of `TCP_CONGESTION` is defined as `0xd` and converted to decimal is 13)
|
The option name of the operation, using decimal (the example here is that the value of `TCP_CONGESTION` is defined as `0xd` and converted to decimal is 13)
|
||||||
|
|
||||||
>> `value`: ""
|
> `value`: ""
|
||||||
|
|
||||||
The option value to be set, the example here is set to bbr.
|
The option value to be set, the example here is set to bbr.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user