Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
When using a decorator, it must be set on the stream before any handshaking takes place. This sets the decorator on the stream, to be used for all subsequent calls to使用修饰器时,必须在进行任何握手之前将其设置在流上。以下代码将修饰器设置在流上,供后续所有 `acceptor` 或 `handshake:` 调用使用: