Steps in a Typical HTTP Client Application(典型发送HTTP请求步骤)来自微软官网
来源:互联网 发布:淘宝商品编辑手记软件 编辑:程序博客网 时间:2024/06/07 13:17
Steps in a Typical HTTP Client Application
The following table shows the steps you might perform in a typical HTTP client application:
(下面的图表会告诉你实现一般HTTP请求的几个步骤)
Begin an HTTP session.
(开始一个HTTP对话)
Create a CInternetSession object.
(创建一个CInternetSession)类的对象
Initializes WinInet and connects to server.
初始化Winlent 然后连接上服务
Connect to an HTTP server.
(连接到一个HTTP服务)
Use CInternetSession::GetHttpConnection.
用此类的此方法
Returns a CHttpConnection object.
返回一个此类型的对象
Open an HTTP request
打开一个HTTO请求.
Use CHttpConnection::OpenRequest.
用此类的此方法
Returns a CHttpFile object
返回一个此类型的对象.
Send an HTTP request.
发送一个HTTP请求
Use CHttpFile::AddRequestHeaders andCHttpFile::SendRequest.
用此类的此方法
Finds the file. Returns FALSE if the file is not found
寻找服务器返回的文件,如果返回值为FALSE则没有.
Read from the file.
读取返回文件
Use CHttpFile.
用此类
Reads the specified number of bytes using a buffer you supply.
用一个你的buffer去读按特殊字节去读取
Handle exceptions.
报错处理
Use the CInternetException class.
用此类
Handles all common Internet exception types.
处理所有常用互联网错误类型
End the HTTP session.
结束HTTP对话
Dispose of the CInternetSession object.
处理刚刚创建的此类对象
Automatically cleans up open file handles and connections.
自动清理
- Steps in a Typical HTTP Client Application(典型发送HTTP请求步骤)来自微软官网
- Steps in a Typical HTTP Client Application
- 建立典型HTTP Client应用程序的步骤
- Xcode7 Application Transport Security 发送HTTP请求报错
- Http: 发送http访问请求
- http请求步骤(httpclient)
- (转) Http请求步骤
- http请求的步骤
- C#发送HTTP请求
- java 发送http请求
- socket 发送http请求
- python发送HTTP请求
- 异步发送HTTP请求
- python发送HTTP请求
- Qt发送HTTP请求
- socket发送http请求
- 发送http请求
- JAVA发送HTTP请求
- Android Service完全解析,关于服务你所需知道的一切(上)
- Volley返回error的判断
- mysql中时间存储类型的选择
- SVN提交报错- At least one property change failed
- android 抽取basepager类
- Steps in a Typical HTTP Client Application(典型发送HTTP请求步骤)来自微软官网
- svn cleanup failed – previous operation has not finished 解决方法
- CodeMirror sql智能提示功能修改
- JQuery监听组合按键
- Java 内存溢出(java.lang.OutOfMemoryError)的常见情况和处理方式总结
- sql server锁表
- AndroidStudio获取SHA1值
- PAT B1003
- Android6.0系统适配桌面歌词效果