亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? htreq.h

?? www工具包. 這是W3C官方支持的www支撐庫. 其中提供通用目的的客戶端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
?? H
?? 第 1 頁 / 共 3 頁
字號:
extern BOOL HTRequest_addRange       (HTRequest * request,                                      char * unit, char * range);extern BOOL HTRequest_deleteRangeAll (HTRequest * request);extern HTAssocList * HTRequest_range (HTRequest * request);/*.  HTTP Connection Control Request Directives.The connection control directives are all part of the connection header andcontrol the behavior of this connection. This association list is a listof the connection control directives that are to be sent as part of theConnection header.*/extern BOOL HTRequest_addConnection        (HTRequest * request,                                            char * token, char * value);extern BOOL HTRequest_deleteConnection     (HTRequest * request);extern HTAssocList * HTRequest_connection  (HTRequest * request);/*.  HTTP Access Authentication Credentials.When a access denied response is returned to the Library, for example froma remote HTTP server, this code is passed back to the application. Theapplication can then decide whether a new request should be established ornot. These two methods return the authentication information required toissue a new request, that is the new anchor and any list of keywords associatedwith this anchor.*/extern BOOL HTRequest_addCredentials       (HTRequest * request,                                            char * token, char * value);extern BOOL HTRequest_deleteCredentialsAll (HTRequest * request);extern HTAssocList * HTRequest_credentials (HTRequest * request);/*(  Realms)The realm is normally set and used by the authentication filters.*/extern BOOL HTRequest_setRealm (HTRequest * request, char * realm);extern const char * HTRequest_realm (HTRequest * request);extern BOOL HTRequest_deleteRealm (HTRequest * me);/*.  HTTP Referer Field.If this parameter is set then a `Referer: <parent address> can be generatedin the request to the server, seeReferer field in a HTTP Request*/extern void HTRequest_setParent (HTRequest *request, HTParentAnchor *parent);extern HTParentAnchor * HTRequest_parent (HTRequest *request);/*.  Local BEFORE and AFTER Filters.The request object may have it's own before and afterfilters. These may override or suplement theglobal set in HTNet. The request object itself handlesthe list element, that is this should not be freed bu the caller.(  BEFORE Filters)The BEFORE filters are called just after therequest has been passed to the Library but before any request is issued overthe network. A BEFORE can infact stop a request completely from being processed.  Add a local BEFORE FilterYou can add a local BEFORE filter for a single request so that theboth the local and global BEFORE filters are called or you can replacethe global filters with a local set. Note that the local set can be NULL.This can be used to effectively disable all BEFORE filters withoutunregistering the global ones.*/extern BOOL HTRequest_addBefore (HTRequest * request, HTNetBefore * filter,				 const char * tmplate, void * param,                                 HTFilterOrder order, BOOL override);extern HTList * HTRequest_before (HTRequest * request, BOOL * override);/*  Delete a Local BEFORE FilterYou can delete a local BEFORE filter explicitly by passing the filter itselfor you can delete all filters which are registered for a certain status code.*/extern BOOL HTRequest_deleteBefore (HTRequest * request, HTNetBefore * filter);extern BOOL HTRequest_deleteBeforeAll (HTRequest * request);/*(  AFTER Filters)You can add a local AFTER filter for a single request so that the both thelocal and global AFTER filters are called or you can replace the global filterswith a local set. Note that the local set can be NULL. This can be used toeffectively disable all AFTER filters without unregistering the global ones.AFTER filters can be registered to handle a certain set of return valuesfrom the protocol modules, for example explicitly to handle redirection,authentication, etc. You can find all the available codes in the HTNet objectdescription.  Add a local AFTER Filter*/extern BOOL HTRequest_addAfter (HTRequest * request, HTNetAfter * filter,				const char * tmplate, void * param,                                int status, HTFilterOrder order,                                BOOL override);extern HTList * HTRequest_after (HTRequest * request, BOOL * override);/*  Delete an AFTER FilterYou can delete a local AFTER filter explicitly by passing the filter itselfor you can delete all filters which are registered for a certain status code.*/extern BOOL HTRequest_deleteAfter (HTRequest * request, HTNetAfter * filter);extern BOOL HTRequest_deleteAfterStatus (HTRequest * request, int status);extern BOOL HTRequest_deleteAfterAll (HTRequest * request);/*.  Sending data from App to Network.Multiple Request objects can be connected in order to create aPostWeb for sending datafrom one location (source) to another (destination). Request objects arebound together by connecting the output stream of the source with the inputstream of the destination requst. The connection can be done directly sothat the output from the source is exactly what is sent to the destinationor there can be a conversion between the two streams so that we can doconversions on the fly while copying data. This is in fact the way we usefor building a proxy server.The Library supports two ways of posting a data object to a remote destination:Input comes from a socket descriptor or from memory. In the case where youwant to copy a URL, for example from local file system orfrom a remote HTTP server then you must use thePostWeb design. This modeloperates by using at least two request objects which gets linked to eachotheras part of the PostWeb model. However, if you are posting from memory, weonly use one request object to perform the operation. In order todo this, the application must register a callback function that can be calledwhen the HTTP client module is ready for accepting data.be included as part of the body and/or as extra metainformation. In the lattercase you need to register a callback function of the following type usingthe methods provided in the next section.*/typedef int HTPostCallback (HTRequest * request, HTStream * target);extern void HTRequest_setPostCallback (HTRequest * request, HTPostCallback * cbf);extern HTPostCallback * HTRequest_postCallback (HTRequest * request);/*The Entity Anchor is either the anchor directly associated with the Requestobject or the post anchor associated with the object. The purpose of theentity anchor is if we are to send data to a remote server then we get themetainformation using the entity anchor.*/extern BOOL HTRequest_setEntityAnchor (HTRequest * request, HTParentAnchor * anchor);extern HTParentAnchor * HTRequest_entityAnchor (HTRequest * request);/*(  Input Stream)The input stream is to be used to put data to the network. Normallyeach protocol sets the input stream in order to generate the protocol headerswhile making a request.*/extern void HTRequest_setInputStream (HTRequest * request, HTStream * input);extern HTStream *HTRequest_inputStream (HTRequest * request);/*(  Is This Request part of a Post Web? (Deprecated))Check to see if this request object is part of a Post Web.*/extern BOOL HTRequest_isPostWeb (HTRequest * request);/*(  Source of a Request)A request may have a source in which is another request object that as outputstream has the input stream of this request object.*/extern BOOL HTRequest_setSource (HTRequest * request, HTRequest * source);extern HTRequest * HTRequest_source (HTRequest * request);/*.  Streams From Network to Application.(  Default Output Stream)The output stream is to be used to put data down to as they come infrom the network and back to the application. The default value isNULL which means that the stream goes to the user (display).*/extern void HTRequest_setOutputStream (HTRequest *request, HTStream *output);extern HTStream *HTRequest_outputStream (HTRequest *request);/*(  Default Output Stream Format)The desired format of the output stream. This is used in thestream stack builder to determine which streamto plug in to deal with the data. If NULL, thenWWW_PRESENT is default value.*/extern void HTRequest_setOutputFormat (HTRequest *request, HTFormat format);extern HTFormat HTRequest_outputFormat (HTRequest *request);/*(  Has Output Stream been Connected to Channel? (Deprecated))Has output stream been connected to the channel? If not then we must freeit explicitly when deleting the request object*/extern void HTRequest_setOutputConnected (HTRequest * request, BOOL mode);extern BOOL HTRequest_outputConnected	 (HTRequest * request);/*(  Default Debug Stream)All object bodies sent from the server with status codes different from200 OK will be put down this stream. This can be used forredirecting body information in status codes different from "200 OK" to forexample a debug window. If the value is NULL (default) then the stream isnot set up.*/extern void HTRequest_setDebugStream (HTRequest *request, HTStream *debug);extern HTStream *HTRequest_debugStream (HTRequest *request);/*(  Default Debug Stream Format)The desired format of the error stream. This can be used to get unconverteddata etc. from the library. The default value if WWW_HTML asa character based only has one WWW_PRESENT.*/extern void HTRequest_setDebugFormat (HTRequest *request, HTFormat format);extern HTFormat HTRequest_debugFormat (HTRequest *request);/*.  Context Swapping.In multi threaded applications it is often required to keep track of thecontext of a request so that when the Library returns a result of a request,it can be put into the context it was in before the request was first passedto the Library. This call back function allows the application to do this.*/typedef int HTRequestCallback (HTRequest * request, void *param);extern void HTRequest_setCallback (HTRequest *request, HTRequestCallback *cb);extern HTRequestCallback *HTRequest_callback (HTRequest *request);/*The callback function can be passed an arbitrary pointer (the void part)which can describe the context of the current request structure. If suchcontext information is required then it can be set using the following methods:*/extern void HTRequest_setContext (HTRequest *request, void *context);extern void *HTRequest_context (HTRequest *request);/*.  Should we Issue a full HTTP Request-URI?.In early versions of HTTP, the request sent to the remote server varies whetherwe use a proxy or go directly to the origin server. The default value isOFF but we use a full request if we are talking to a proxy server.*/extern void HTRequest_setFullURI (HTRequest *request, BOOL mode);extern BOOL HTRequest_fullURI (HTRequest *request);/*.  Handling Proxies.In case we are using a proxy for this requst then we can register it togetherwith the request object. That way we can find the proxy and look forauthentication information, for example in theAuthentication filter. The string is freed bythe Request object on deletion. This is normally handled automatically bythe proxy and gateway module*/extern BOOL HTRequest_setProxy    (HTRequest * request, const char * proxy);extern char * HTRequest_proxy     (HTRequest * request);extern BOOL HTRequest_deleteProxy (HTRequest * request);/*.Message Body Manipulation.An application may use these functions to set and manipulate the requestmessage body.  This message body is specially indicate for methods that usesmall XML message bodies. Once the application defines it, this message bodywill be send just after the headers. It  does not use"Expect: 100-continue" header, and the applicationshould not try to use both.  It's important to remark that"Expect: 100-continue" header is a very importante feature defined in HTTP.It's prevents that, for example, the server must read many unnecessary bytesfrom request body. Using "Expect: 100-continue" header, your applicationsafes time and network (see RFC2616, section 8.2.3).Please, if possible, use always HTRequest Entity and entity callback, leavethis only for small XML bodies in extension methods (see HTMethod), and when using it, be verycareful!When using a message body, the application may define its length andformat. If the message body is set and its length is also set and it greaterthan 0, a Content-Lenght header will be added to the request. Similarly, if the message body and its type are set, a Content-Type header will be added to the request too. Otherwise, those headers will not be included.Note: The caller should free the string returned byHTRequest_messageBody function!*/extern BOOL HTRequest_setMessageBody (HTRequest * request, const char * body);extern BOOL HTRequest_deleteMessageBody (HTRequest * request);extern char * HTRequest_messageBody (HTRequest * request);extern BOOL HTRequest_setMessageBodyLength (HTRequest * request, long int length);extern long int HTRequest_messageBodyLength (HTRequest * request);extern BOOL HTRequest_setMessageBodyFormat (HTRequest * request, HTFormat format);extern HTFormat HTRequest_messageBodyFormat (HTRequest * request);/*.  Bytes Read or Written in a Request.This function returns the bytes read in the current request. For a deeperdescription of what the current request is, please read the user's guide.This function can be used in for example the HTAlertmodule to give the number of bytes read or written in a progress message.*/extern long HTRequest_bodyRead (HTRequest * request);extern long HTRequest_bodyWritten (HTRequest * request);/*You can also get the total number of bytes read or written including theheaders*/extern long HTRequest_bytesRead (HTRequest * request);extern long HTRequest_bytesWritten (HTRequest * request);/**/#endif /* HTREQ_H *//*    @(#) $Id: HTReq.html,v 2.72 2002/06/04 15:14:11 kirschpi Exp $*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合色视频| 日韩和的一区二区| 悠悠色在线精品| 亚洲综合区在线| 26uuu亚洲综合色欧美| 日韩美女精品在线| 国产一区二区精品久久| 日日夜夜免费精品| 蜜桃av一区二区三区| 国产乱色国产精品免费视频| 粉嫩一区二区三区在线看 | 美女视频黄 久久| 国产传媒日韩欧美成人| 色综合久久88色综合天天免费| 亚洲制服欧美中文字幕中文字幕| 久久久精品国产免费观看同学| 欧美日韩黄视频| 久久精品日韩一区二区三区| 国产精品久久毛片| 日韩**一区毛片| 91在线看国产| 2014亚洲片线观看视频免费| 亚洲精品成人少妇| 久久国产成人午夜av影院| 国产精品456| 欧美日韩第一区日日骚| 欧美国产综合色视频| 亚洲超丰满肉感bbw| 国产高清不卡一区| 日韩午夜激情免费电影| 一区二区三区四区国产精品| 国产真实乱偷精品视频免| 欧美网站大全在线观看| 欧美日韩国产另类一区| 亚洲丝袜制服诱惑| 国产suv精品一区二区三区| 欧美无砖专区一中文字| 亚洲人吸女人奶水| 国产成a人无v码亚洲福利| 51精品秘密在线观看| 亚洲精品视频观看| 国产成人精品影视| 日韩欧美一区中文| 亚洲制服丝袜av| 色婷婷国产精品| 久久九九久久九九| 日本成人超碰在线观看| 欧美性色黄大片| 中文字幕视频一区| 99久久久免费精品国产一区二区| 91视频免费观看| 亚洲国产精品成人综合色在线婷婷| 国产精品久久久久久久久晋中| 亚洲欧美电影院| 成人高清伦理免费影院在线观看| 成人免费视频免费观看| 久久久午夜电影| 九九视频精品免费| 日韩女优制服丝袜电影| 裸体健美xxxx欧美裸体表演| 欧美一区欧美二区| 激情综合色丁香一区二区| 久久久久久久久久久电影| 成人美女视频在线看| 亚洲欧美韩国综合色| 欧美高清视频一二三区| 久久99久久久欧美国产| 久久精品亚洲精品国产欧美| www.久久精品| 一区二区三区欧美亚洲| 69堂国产成人免费视频| 国产成人自拍高清视频在线免费播放| 欧美精品在线视频| 99免费精品在线| 亚洲成av人**亚洲成av**| 精品av综合导航| 亚洲精品一区二区三区香蕉| 丝袜亚洲另类丝袜在线| 日韩一区二区三区精品视频| 91精品欧美一区二区三区综合在| 国产精品人成在线观看免费| 成人激情动漫在线观看| 亚洲免费色视频| 日韩限制级电影在线观看| 亚洲欧美一区二区三区孕妇| 国产精品77777| 日韩有码一区二区三区| 欧美欧美欧美欧美| 国产美女精品一区二区三区| 亚洲欧美成人一区二区三区| 日韩午夜激情免费电影| 91猫先生在线| 国产精品自拍av| 亚洲bt欧美bt精品777| 国产欧美精品一区aⅴ影院| 欧美日韩激情在线| 经典三级一区二区| 伊人色综合久久天天人手人婷| 久久夜色精品国产噜噜av| 婷婷亚洲久悠悠色悠在线播放| 日本韩国一区二区| 国产另类ts人妖一区二区| 久久人人97超碰com| 欧美色图激情小说| 成人国产精品免费观看动漫 | 亚洲一二三区在线观看| 久久久久久免费毛片精品| 7777精品伊人久久久大香线蕉最新版| 亚洲免费三区一区二区| 欧美国产一区二区| 久久久久9999亚洲精品| 555www色欧美视频| 在线观看视频一区| av激情亚洲男人天堂| 国产福利一区在线| 久久精工是国产品牌吗| 天堂在线一区二区| 亚洲高清中文字幕| 亚洲欧美日韩国产成人精品影院 | 韩国精品在线观看| 日本不卡视频在线观看| 亚洲精品国产精华液| 国产欧美1区2区3区| www精品美女久久久tv| 欧美人狂配大交3d怪物一区| 欧美日韩精品三区| 欧美曰成人黄网| 91国产免费观看| 在线看国产一区二区| 91蝌蚪porny九色| 99r精品视频| caoporm超碰国产精品| 99久久99久久久精品齐齐| 99精品国产91久久久久久| 99久久精品免费看| 色婷婷综合久久久中文一区二区| 久久精品国产一区二区三| 久久成人免费日本黄色| 毛片av一区二区| 蜜桃视频在线一区| 狠狠色丁香久久婷婷综| 国产成a人无v码亚洲福利| 成人18视频日本| 色婷婷久久久久swag精品 | 欧美人伦禁忌dvd放荡欲情| 在线视频综合导航| 日本乱人伦一区| 欧美日韩亚洲高清一区二区| 欧美人体做爰大胆视频| 欧美sm美女调教| 国产欧美一区二区精品秋霞影院 | 日韩视频一区二区在线观看| 制服丝袜亚洲网站| 精品国免费一区二区三区| 久久久久久久久岛国免费| 国产精品国产三级国产普通话99| 精品久久人人做人人爱| 国产精品乱人伦| 一区二区三区在线观看视频| 日韩av在线播放中文字幕| 精品一二三四区| 粉嫩aⅴ一区二区三区四区五区| 美洲天堂一区二卡三卡四卡视频| 亚洲少妇30p| 亚洲一二三四在线| 国内精品国产成人国产三级粉色 | 欧美三级三级三级爽爽爽| 欧美日韩在线观看一区二区 | 亚洲国产日韩综合久久精品| 亚洲线精品一区二区三区| 日本欧美在线观看| 国产福利一区二区三区在线视频| 麻豆精品视频在线观看视频| 亚洲一区二区视频在线| www国产成人| 中文字幕在线观看不卡视频| 五月天婷婷综合| 国产激情一区二区三区四区 | 91亚洲精华国产精华精华液| 欧美日韩综合不卡| 欧美激情一区二区三区不卡 | 久久久噜噜噜久噜久久综合| 日本一区二区免费在线| 婷婷激情综合网| 91在线你懂得| 日韩视频国产视频| 樱花草国产18久久久久| 国产一二三精品| 欧美亚洲综合另类| 中文字幕精品一区二区精品绿巨人| 精品国产乱码久久久久久图片 | 99精品欧美一区| 26uuu欧美| 午夜精品爽啪视频| 99国产精品久久久久久久久久久| 99精品视频一区| 精品久久一区二区三区| 亚洲第一在线综合网站| 9人人澡人人爽人人精品| ww久久中文字幕|