System::Net Namespace Reference

Namespaces

 Cache
 

Classes

class  CredentialCache
 
class  FileWebRequest
 
class  FileWebResponse
 
class  FtpWebRequest
 
class  FtpWebResponse
 
class  HttpWebRequest
 
class  HttpWebResponse
 
class  ICredentials
 
class  ICredentialsByHost
 
class  IWebProxy
 Provides the base interface for implementation of proxy access for the WebRequest class. More...
 
class  NetworkCredential
 
class  ServicePoint
 
class  WebClient
 
class  WebHeaderCollection
 
class  WebRequest
 
class  WebResponse
 

Enumerations

enum  HttpRequestHeader {
  HttpRequestHeader::CacheControl = 0, HttpRequestHeader::Connection = 1, HttpRequestHeader::Date = 2, HttpRequestHeader::KeepAlive = 3,
  HttpRequestHeader::Pragma = 4, HttpRequestHeader::Trailer = 5, HttpRequestHeader::TransferEncoding = 6, HttpRequestHeader::Upgrade = 7,
  HttpRequestHeader::Via = 8, HttpRequestHeader::Warning = 9, HttpRequestHeader::Allow = 10, HttpRequestHeader::ContentLength = 11,
  HttpRequestHeader::ContentType = 12, HttpRequestHeader::ContentEncoding = 13, HttpRequestHeader::ContentLanguage = 14, HttpRequestHeader::ContentLocation = 15,
  HttpRequestHeader::ContentMd5 = 16, HttpRequestHeader::ContentRange = 17, HttpRequestHeader::Expires = 18, HttpRequestHeader::LastModified = 19,
  HttpRequestHeader::Accept = 20, HttpRequestHeader::AcceptCharset = 21, HttpRequestHeader::AcceptEncoding = 22, HttpRequestHeader::AcceptLanguage = 23,
  HttpRequestHeader::Authorization = 24, HttpRequestHeader::Cookie = 25, HttpRequestHeader::Expect = 26, HttpRequestHeader::From = 27,
  HttpRequestHeader::Host = 28, HttpRequestHeader::IfMatch = 29, HttpRequestHeader::IfModifiedSince = 30, HttpRequestHeader::IfNoneMatch = 31,
  HttpRequestHeader::IfRange = 32, HttpRequestHeader::IfUnmodifiedSince = 33, HttpRequestHeader::MaxForwards = 34, HttpRequestHeader::ProxyAuthorization = 35,
  HttpRequestHeader::Referer = 36, HttpRequestHeader::Range = 37, HttpRequestHeader::Te = 38, HttpRequestHeader::Translate = 39,
  HttpRequestHeader::UserAgent = 40
}
 Http request header definitions. More...
 
enum  HttpResponseHeader {
  HttpResponseHeader::CacheControl = 0, HttpResponseHeader::Connection = 1, HttpResponseHeader::Date = 2, HttpResponseHeader::KeepAlive = 3,
  HttpResponseHeader::Pragma = 4, HttpResponseHeader::Trailer = 5, HttpResponseHeader::TransferEncoding = 6, HttpResponseHeader::Upgrade = 7,
  HttpResponseHeader::Via = 8, HttpResponseHeader::Warning = 9, HttpResponseHeader::Allow = 10, HttpResponseHeader::ContentLength = 11,
  HttpResponseHeader::ContentType = 12, HttpResponseHeader::ContentEncoding = 13, HttpResponseHeader::ContentLanguage = 14, HttpResponseHeader::ContentLocation = 15,
  HttpResponseHeader::ContentMd5 = 16, HttpResponseHeader::ContentRange = 17, HttpResponseHeader::Expires = 18, HttpResponseHeader::LastModified = 19,
  HttpResponseHeader::AcceptRanges = 20, HttpResponseHeader::Age = 21, HttpResponseHeader::ETag = 22, HttpResponseHeader::Location = 23,
  HttpResponseHeader::ProxyAuthenticate = 24, HttpResponseHeader::RetryAfter = 25, HttpResponseHeader::Server = 26, HttpResponseHeader::SetCookie = 27,
  HttpResponseHeader::Vary = 28, HttpResponseHeader::WwwAuthenticate = 29
}
 Http response header definitions. More...
 
enum  HttpStatusCode {
  HttpStatusCode::Continue = 100, HttpStatusCode::SwitchingProtocols = 101, HttpStatusCode::OK = 200, HttpStatusCode::Created = 201,
  HttpStatusCode::Accepted = 202, HttpStatusCode::NonAuthoritativeInformation = 203, HttpStatusCode::NoContent = 204, HttpStatusCode::ResetContent = 205,
  HttpStatusCode::PartialContent = 206, HttpStatusCode::MultipleChoices = 300, HttpStatusCode::Ambiguous = 300, HttpStatusCode::MovedPermanently = 301,
  HttpStatusCode::Moved = 301, HttpStatusCode::Found = 302, HttpStatusCode::Redirect = 302, HttpStatusCode::SeeOther = 303,
  HttpStatusCode::RedirectMethod = 303, HttpStatusCode::NotModified = 304, HttpStatusCode::UseProxy = 305, HttpStatusCode::Unused = 306,
  HttpStatusCode::TemporaryRedirect = 307, HttpStatusCode::RedirectKeepVerb = 307, HttpStatusCode::BadRequest = 400, HttpStatusCode::Unauthorized = 401,
  HttpStatusCode::PaymentRequired = 402, HttpStatusCode::Forbidden = 403, HttpStatusCode::NotFound = 404, HttpStatusCode::MethodNotAllowed = 405,
  HttpStatusCode::NotAcceptable = 406, HttpStatusCode::ProxyAuthenticationRequired = 407, HttpStatusCode::RequestTimeout = 408, HttpStatusCode::Conflict = 409,
  HttpStatusCode::Gone = 410, HttpStatusCode::LengthRequired = 411, HttpStatusCode::PreconditionFailed = 412, HttpStatusCode::RequestEntityTooLarge = 413,
  HttpStatusCode::RequestUriTooLong = 414, HttpStatusCode::UnsupportedMediaType = 415, HttpStatusCode::RequestedRangeNotSatisfiable = 416, HttpStatusCode::ExpectationFailed = 417,
  HttpStatusCode::UpgradeRequired = 426, HttpStatusCode::InternalServerError = 500, HttpStatusCode::NotImplemented = 501, HttpStatusCode::BadGateway = 502,
  HttpStatusCode::ServiceUnavailable = 503, HttpStatusCode::GatewayTimeout = 504, HttpStatusCode::HttpVersionNotSupported = 505
}
 HTTP status codedefinitions. More...
 

Enumeration Type Documentation

◆ HttpRequestHeader

Http request header definitions.

Enumerator
CacheControl 

Cache control header.

Connection 

Connection header.

Date 

Date header.

KeepAlive 

Keep-alive header.

Pragma 

Pragma header.

Trailer 

Trailer header.

TransferEncoding 

Transfer encoding header.

Upgrade 

Upgrade header.

Via 

Via header.

Warning 

Warning header.

Allow 

Allow header.

ContentLength 

Content-length header.

ContentType 

Content-type header.

ContentEncoding 

Cotnent-encoding header.

ContentLanguage 

Content-language header.

ContentLocation 

Content-location header.

ContentMd5 

Content-md5 header.

ContentRange 

Content-range header.

Expires 

Expires header.

LastModified 

Last-modified header.

Accept 

Accept header.

AcceptCharset 

Accept-charset header.

AcceptEncoding 

Accept-encoding header.

AcceptLanguage 

Accept-language header.

Authorization 

Authorization header.

Cookie 

Cookie header.

Expect 

Expect header.

From 

From header.

Host 

Host header.

IfMatch 

If-match header.

IfModifiedSince 

If-modified-since header.

IfNoneMatch 

If-not-match header.

IfRange 

If-range header.

IfUnmodifiedSince 

If-unmodified-since header.

MaxForwards 

Max-forwards header.

ProxyAuthorization 

Proxy-authorization header.

Referer 

Referer header.

Range 

Range header.

Te 

TE header.

Translate 

Translate header.

UserAgent 

User-agent header.

◆ HttpResponseHeader

Http response header definitions.

Enumerator
CacheControl 

Cache-control header.

Connection 

Connection header.

Date 

Date header.

KeepAlive 

Keep-alive header.

Pragma 

Pragma header.

Trailer 

Trailer header.

TransferEncoding 

Transfer-encoding header.

Upgrade 

Upgrade header.

Via 

Via header.

Warning 

Warning header.

Allow 

Allow header.

ContentLength 

Content-length header.

ContentType 

Content-type header.

ContentEncoding 

Content-encoding header.

ContentLanguage 

Content-language header.

ContentLocation 

Content-location header.

ContentMd5 

Content-md5 header.

ContentRange 

Content-range header.

Expires 

Expires header.

LastModified 

Last-modified header.

AcceptRanges 

Accept-ranges header.

Age 

Age header.

ETag 

Etag header.

Location 

Location header.

ProxyAuthenticate 

Proxy-authentificate header.

RetryAfter 

Retry-after header.

Server 

Serber header.

SetCookie 

Set-cookie header.

Vary 

Vary header.

WwwAuthenticate 

WWW-authenticate header.

◆ HttpStatusCode

HTTP status codedefinitions.

Enumerator
Continue 

Continue status.

SwitchingProtocols 

Switching protocols status.

OK 

OK status.

Created 

Creates status.

Accepted 

Accepted status.

NonAuthoritativeInformation 

Non-authoritative information status.

NoContent 

No content status.

ResetContent 

Reset content status.

PartialContent 

Partial content status.

MultipleChoices 

Multiple choices status.

Ambiguous 

Ambigious status.

MovedPermanently 

Moved permanently status.

Moved 

Moved status.

Found 

Found status.

Redirect 

Redirect status.

SeeOther 

See other status.

RedirectMethod 

Redirect method status.

NotModified 

Not modified status.

UseProxy 

Use proxy status.

Unused 

Unused status.

TemporaryRedirect 

Temporary redirect status.

RedirectKeepVerb 

Redirect status.

BadRequest 

Bad request status.

Unauthorized 

Unauthorized status.

PaymentRequired 

Payment required status.

Forbidden 

Forbidden status.

NotFound 

Not found status.

MethodNotAllowed 

Method not allowed status.

NotAcceptable 

Not acceptable status.

ProxyAuthenticationRequired 

Proxy authentication required status.

RequestTimeout 

Request timeout status.

Conflict 

Conflict status.

Gone 

Gone status.

LengthRequired 

Lenght required status.

PreconditionFailed 

Precondition failed status.

RequestEntityTooLarge 

Request entity too large status.

RequestUriTooLong 

Request URI too long status.

UnsupportedMediaType 

Unsupported media type status.

RequestedRangeNotSatisfiable 

Request range not satisfiable status.

ExpectationFailed 

Expectation failed status.

UpgradeRequired 

Upgrade required status.

InternalServerError 

Internal server error status.

NotImplemented 

Not implemented status.

BadGateway 

Bad gateway status.

ServiceUnavailable 

Service unavailable status.

GatewayTimeout 

Gateway timeout status.

HttpVersionNotSupported 

HTTP version not supported status.