htsslreader.h

来自「www工具包. 这是W3C官方支持的www支撑库. 其中提供通用目的的客户端的W」· C头文件 代码 · 共 73 行

H
73
字号
/*  					W3C Sample Code Library SSL Reader Stream!  SSL Reader Stream!*//***	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.*//*The SSL Reader Stream is an inputstream which knows how to read from a SSL socket layer, forexample provided by the OpenSSL Library.It is a libwww transport and may be registeredusing the Transport Manager. The applicationcan initialize this stream together with theHTSSLWriter stream, for example. This modulerequires a SSL library in order to link/compile.This module is implemented by HTSSLReader.c,and it is a part of the  W3C SampleCode Library.The module is contributed by Olga Antropova*/#ifndef HTSSLREADER_H#define HTSSLREADER_H#include "HTIOStream.h"/*.  Input Buffering.In order to optimize reading a channel, we bind a buffer to each channelobject. The size of this buffer is a compromise between speed and memory.Here it is chosen as the default TCP High Water Mark (sb_hiwat) for receivingdata. By default, we have chosen a value that equals the normal TCP HighWater Mark (sb_hiwat) for receiving data.*/#define INPUT_BUFFER_SIZE    32*1024/*.  SSL Read Stream.*/extern HTInput_new HTSSLReader_new;/**/#endif /* HTSSLREADER_H *//*    @(#) $Id: HTSSLReader.html,v 1.1 2000/06/09 16:28:57 kahan Exp $*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?