System::Net::Http::StringContent class
Contents
[
Hide
]StringContent class
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.
class StringContent : public System::Net::Http::ByteArrayContent
Methods
Method | Description |
---|---|
StringContent(String) | RTTI information. |
StringContent(String, System::SharedPtr<Text::Encoding>) | Constructs a new instance. |
StringContent(String, System::SharedPtr<Text::Encoding>, String) | Constructs a new instance. |
Fields
Field | Description |
---|---|
static DefaultStringEncoding | The default encoding. |
static MaxBufferSize | The maximum number of bytes. |
See Also
- Class ByteArrayContent
- Namespace System::Net::Http
- Library Aspose.TeX for C++