xrtSshGlobalRequestWrite
写入或严格读取可扩展全局请求。
xsshcode xrtSshGlobalRequestWrite( xsshwriter* pWriter, xstrview Name, bool bWantReply, xbytesview Fields );
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| xstrview Name | 名称(xstrview) |
| bool bWantReply | bWantRely 参数 |
| xbytesview Fields | Felds 参数 |
返回:写入或严格读取可扩展全局请求。
示例已编译验证
/* 写入或严格读取可扩展全局请求。 */ result = xrtSshGlobalRequestWrite(pWriter, Name, bWantReply, Fields);
xrtSshGlobalRequestRead
XRT_API xsshcode xrtSshGlobalRequestRead( xbytesview Payload, xsshglobalrequest* pRequest );
;
返回:XRT_API xsshcode xrtSshGlobalRequestRead( xbytesview Payload, xsshglobalrequest* pRequest );
示例已编译验证
/* XRT_API xsshcode xrtSshGlobalRequestRead( xbytesview Payload, xsshglobalrequest* pRequest ); */ result = xrtSshGlobalRequestRead();
xrtSshGlobalSuccessWrite
写入或严格读取带任意请求专用数据的成功响应。
xsshcode xrtSshGlobalSuccessWrite( xsshwriter* pWriter, xbytesview Fields );
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
| xbytesview Fields | Felds 参数 |
返回:写入或严格读取带任意请求专用数据的成功响应。
示例已编译验证
/* 写入或严格读取带任意请求专用数据的成功响应。 */ result = xrtSshGlobalSuccessWrite(pWriter, Fields);
xrtSshGlobalSuccessRead
XRT_API xsshcode xrtSshGlobalSuccessRead( xbytesview Payload, xbytesview* pFields );
;
返回:XRT_API xsshcode xrtSshGlobalSuccessRead( xbytesview Payload, xbytesview* pFields );
示例已编译验证
/* XRT_API xsshcode xrtSshGlobalSuccessRead( xbytesview Payload, xbytesview* pFields ); */ result = xrtSshGlobalSuccessRead();
xrtSshGlobalFailureWrite
写入或严格读取无字段失败响应。
xsshcode xrtSshGlobalFailureWrite(xsshwriter* pWriter);
| 参数 | 说明 |
|---|---|
| xsshwriter* pWriter | 写入器 |
返回:写入或严格读取无字段失败响应。
示例已编译验证
/* 写入或严格读取无字段失败响应。 */ result = xrtSshGlobalFailureWrite(pWriter);
xrtSshGlobalFailureRead
XRT_API xsshcode xrtSshGlobalFailureRead(xbytesview Payload);
;
返回:XRT_API xsshcode xrtSshGlobalFailureRead(xbytesview Payload);
示例已编译验证
/* XRT_API xsshcode xrtSshGlobalFailureRead(xbytesview Payload); */ result = xrtSshGlobalFailureRead();