StringContent

StringContent constructor (1 of 3)

Initializes a new instance of the StringContent class.

public StringContent(string content)
Parameter Type Description
content String The content.

See Also


StringContent constructor (2 of 3)

Initializes a new instance of the StringContent class.

public StringContent(string content, Encoding encoding)
Parameter Type Description
content String The content.
encoding Encoding The encoding.

See Also


StringContent constructor (3 of 3)

Initializes a new instance of the StringContent class.

public StringContent(string content, Encoding encoding, string mediaType)
Parameter Type Description
content String The content.
encoding Encoding The encoding.
mediaType String Type of the media.

See Also