Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指定用于进行同步的 HTTP 的版本。
version=HTTP-version-number
缺省值为 1.1。
如果您的 HTTP 基础结构要求特定版本的 HTTP,此选项会非常有用。值可以是 1.0 或 1.1。
有关如何设置 dbmlsync 网络协议选项的信息,请参见CommunicationAddress (adr) 扩展选项。
有关如何设置 UltraLite 网络协议选项的信息,请参见UltraLite 网络协议选项。
以下示例将 HTTP 版本设置为 1.0。
在 SQL Anywhere 客户端上,实现如下:
dbmlsync -e "adr=version=1.0"
对于以嵌入式 SQL 或 C++ 编写的 UltraLite 应用程序,实现如下:
synch_info.stream_parms = "version=1.0";