RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::Net Namespace Reference

The namespaces contain classes that provide a simple programming interface for a number of network protocols, programmatically access and update configuration settings for the System.Net namespaces, define cache policies for web resources, access network traffic data and network address information, and access peer-to-peer networking functionality. More...

Classes

struct  HTTP_CALLBACK_OBJECT
 
class  HttpCookie
 Http Cookies Management More...
 
class  HttpRequest
 Makes a request to a Uniform Resource Identifier (URI) More...
 
class  HttpResponse
 Provides an HTTP-specific implementation of the WebResponse class More...
 
class  HttpUtility
 Provides methods for encoding and decoding URLs when processing Web requests More...
 
struct  Ipv4Host
 Ipv4 host info More...
 
class  Sockets
 The namespace provides a managed implementation of the Windows Sockets (Winsock) interface for developers who need to tightly control access to the network. More...
 
struct  Uri
 提供统一资源标识符 (URI) 的对象表示形式和对 URI 各部分的轻松访问 示例: Scheme://Host/Path[;URICookie]?Query More...
 
class  WebClient
 提供用于将数据发送到由 URI 标识的资源及从这样的资源接收数据的常用方法 More...
 
class  WebHeaderCollection
 包含与请求或响应关联的协议标头 More...
 
class  WebResponse
 Provides a response from a Uniform Resource Identifier (URI) More...
 

Typedefs

typedef IO::BufferedStream RequestStream
 
typedef IO::BufferedStream ResponseStream
 
typedef struct System::Net::HTTP_CALLBACK_OBJECTLPHTTP_CALLBACK_OBJECT
 
typedef HTTP_CALLBACK_RESULT(* HTTP_CALLBACK) (LPHTTP_CALLBACK_OBJECT, HTTP_CALLBACK_EVENT)
 
typedef HTTP_CALLBACK HTTP_CONN_CALLBACK
 
typedef HTTP_CALLBACK HTTP_SEND_CALLBACK
 
typedef HTTP_CALLBACK HTTP_RECV_CALLBACK
 
typedef struct RLIB_API System::Net::UriLPURI
 提供统一资源标识符 (URI) 的对象表示形式和对 URI 各部分的轻松访问 示例: Scheme://Host/Path[;URICookie]?Query More...
 
typedef ADDRINFOA AddrInfo
 

Enumerations

enum  HTTP_CALLBACK_EVENT {
  CONN_EVENT_BEGIN, CONN_EVENT_END, SEND_EVENT_REQUEST_LINE, SEND_EVENT_REQUEST_HEADER,
  SEND_EVENT_REQUEST_BODY, SEND_EVENT_END, RECV_EVENT_BEGIN, RECV_EVENT_RECEIVED,
  RECV_EVENT_REDIRECT, RECV_EVENT_REDIRECT_NOTIFY, RECV_EVENT_FLUSH, RECV_EVENT_RETEND,
  RECV_EVENT_COMPLETED, RECV_EVENT_INCOMPLETE_HEADER, RECV_EVENT_ERROR
}
 
enum  HTTP_CALLBACK_RESULT {
  CONN_RESULT_IGNORE, CONN_RESULT_RETRY, SEND_RESULT_IGNORE, SEND_RESULT_CONTINUE,
  RECV_RESULT_IGNORE, RECV_RESULT_CONTINUE, RECV_RESULT_SKIP_HEADERS, RECV_RESULT_END
}
 
enum  DecompressionMethod { None = 0, GZip, Deflate, Auto }
 表示文件压缩和解压缩编码格式,该格式将用来解压缩在 HttpRequest 的响应中收到的数据 More...
 

Functions

 RLIB_INTERNAL_EXCEPTION (HttpException, Exception)
 Describes an exception that occurred during the processing of HTTP requests More...
 

Detailed Description

The namespaces contain classes that provide a simple programming interface for a number of network protocols, programmatically access and update configuration settings for the System.Net namespaces, define cache policies for web resources, access network traffic data and network address information, and access peer-to-peer networking functionality.

Typedef Documentation

typedef struct RLIB_API System::Net::Uri * System::Net::LPURI

提供统一资源标识符 (URI) 的对象表示形式和对 URI 各部分的轻松访问 示例: Scheme://Host/Path[;URICookie]?Query

Enumeration Type Documentation

表示文件压缩和解压缩编码格式,该格式将用来解压缩在 HttpRequest 的响应中收到的数据

Function Documentation

System::Net::RLIB_INTERNAL_EXCEPTION ( HttpException  ,
Exception   
)

Describes an exception that occurred during the processing of HTTP requests