Add code block and refine

pull/528/head
风扇滑翔翼 5 months ago committed by GitHub
parent 9c928fc0d8
commit 455e806ffe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -763,7 +763,7 @@ Xray-core v1.8.6 新增参数。<br>
使用前请确保你了解 Linux Socket 编程。
```
```json
"customSockopt": [
{
"type": "str",
@ -774,19 +774,19 @@ Xray-core v1.8.6 新增参数。<br>
]
```
>> `type`: ""
> `type`: ""
必填设置的类型目前可选int或str.
>> `level`: ""
> `level`: ""
可选协议级别用于指定生效范围默认为6, 即TCP.
>> `opt`: ""
> `opt`: ""
操作的选项名称,使用十进制(此处示例为 TCP_CONGESTION 的值 定义为 0xd 转换为10进制即为13)
>> `value`: ""
> `value`: ""
要设置的选项值此处示例为设置为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.
```
```json
"customSockopt": [
{
"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`.
>> `level`: ""
> `level`: ""
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)
>> `value`: ""
> `value`: ""
The option value to be set, the example here is set to bbr.

Loading…
Cancel
Save