API reference
Method GetString
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
GetString(Encoding?)
Decodes the payload into a string.
public string GetString(Encoding? encoding = null)
Parameters
encodingEncodingThe encoding to use. UTF-8 is used when omitted.
Returns
- string
The decoded text representation of the payload.