StringContent constructor
init
Initializes a new instance of the StringContent
class.
def __init__(self, content):
...
Parameter | Type | Description |
---|---|---|
content | str | The content. |
init
Initializes a new instance of the StringContent
class.
def __init__(self, content, encoding):
...
Parameter | Type | Description |
---|---|---|
content | str | The content. |
encoding | System.Text.Encoding | The encoding. |
init
Initializes a new instance of the StringContent
class.
def __init__(self, content, encoding, media_type):
...
Parameter | Type | Description |
---|---|---|
content | str | The content. |
encoding | System.Text.Encoding | The encoding. |
media_type | str | Type of the media. |
See Also
- module
aspose.html.net
- class
StringContent