大网数据广告活动
Web服务器与PHP

HTTP Server API Version 1.0 Functions

· 52CE 我爱测

The HTTP Server API provides the following functions for writing applications.

The HTTP Server API provides the following functions for writing applications.

General

Function Description
HttpCreateHttpHandle Creates an HTTP request queue and returns a handle to it.
HttpInitialize Initializes the HTTP Server API for use by the calling process.
HttpPrepareUrl Parses, analyzes, and normalizes a non-normalized Unicode or punycode URL so it is safe and valid to use in other HTTP functions.
HttpTerminate Directs the HTTP Server API to clean up any resources associated with a particular process.

Cache Management

Function Description
HttpAddFragmentToCache Caches a data fragment so that it can be used to compose a dynamic response without reading from disk.
HttpFlushResponseCache Removes specified cached fragments from the HTTP cache.
HttpReadFragmentFromCache Retrieves a specified cached response fragment.

Configuration

Function Description
HttpDeleteServiceConfiguration Deletes specified information from the HTTP configuration store.
HttpQueryServiceConfiguration Queries the HTTP configuration store for specified information.
HttpSetServiceConfiguration Sets specified values in the HTTP Server API configuration store.

Input and Output

Function Description
HttpReceiveHttpRequest Retrieves an HTTP request from a specified request queue.
HttpReceiveRequestEntityBody Retrieves entity-body data of a particular HTTP request.
HttpSendHttpResponse Sends an HTTP response for a particular HTTP request.
HttpSendResponseEntityBody Sends entity-body data of an HTTP response.
HttpWaitForDisconnect Notifies the application when an HTTP client has disconnected.

SSL

Function Description
HttpReceiveClientCertificate Retrieves the client certificate for an SSL connection.

URL Registration

Function Description
HttpAddUrl Registers a URL so that HTTP requests for it are routed to a specified request queue.
HttpRemoveUrl Unregisters a specified URL, so that requests for it are no longer routed to a specified queue.

Related topics

HTTP Server API Version 1.0 Structures

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。