Asposecpplib
System::Net::Http Namespace Reference

Namespaces

 Headers
 

Classes

class  ByteArrayContent
 Represents HTTP content as a byte array. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  HttpClient
 Represents a base class of an HTTP client for sending requests and receiving responses. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  HttpClientHandler
 Represents the default message handler used by the HttpClient class. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  HttpContent
 Represents content of an HTTP entity. Object of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  HttpMessageHandler
 Represents a base type for the HTTP message handlers. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  HttpMessageInvoker
 Allows applications to call the Send method on an HTTP handler chain. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  HttpMethod
 Represents an HTTP method. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  HttpRequestMessage
 Represents an HTTP request message. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  HttpResponseMessage
 Represents an HTTP response message. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  HttpUtilities
 Contains the utility methods. More...
 
class  StringContent
 Represents HTTP content as a string. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  Details_HttpRequestException
 The base exception class is thrown by the HttpClient and HttpMessageHandler classes. Never create instances of this class manually. Use the HttpRequestException class instead. Never wrap the HttpRequestException class instances into System::SmartPtr. More...
 

Typedefs

using HttpRequestException = System::ExceptionWrapper< Details_HttpRequestException >
 

Enumerations

enum class  HttpCompletionOption { ResponseContentRead = 0 , ResponseHeadersRead }
 Indicates when an HttpClient operation should be completed. More...
 
enum class  HttpParseResult { Parsed , NotParsed , InvalidFormat }
 Indicates the parsing result. More...
 

Functions

bool operator== (System::SharedPtr< HttpMethod > left, System::SharedPtr< HttpMethod > right)
 
bool operator!= (System::SharedPtr< HttpMethod > left, System::SharedPtr< HttpMethod > right)
 

Typedef Documentation

◆ HttpRequestException

Enumeration Type Documentation

◆ HttpCompletionOption

Indicates when an HttpClient operation should be completed.

Enumerator
ResponseContentRead 

The operation should be complete after reading response content.

ResponseHeadersRead 

The operation should be complete after reading headers of a response.

◆ HttpParseResult

Indicates the parsing result.

Enumerator
Parsed 

The parsing is successfully done.

NotParsed 

The string to parse starts with an invalid character.

InvalidFormat 

The string to parse has an invalid format.

Function Documentation

◆ operator!=()

bool System::Net::Http::operator!= ( System::SharedPtr< HttpMethod left,
System::SharedPtr< HttpMethod right 
)

◆ operator==()

bool System::Net::Http::operator== ( System::SharedPtr< HttpMethod left,
System::SharedPtr< HttpMethod right 
)