Click or drag to resize

PostDataExtensionsGetCharSet Method

Version 88.2.90
A convenience extension method that extracts the Character set from the content-type header. Can be used in conjuncation with GetBody(IPostDataElement, String)

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 88.2.90.0 (88.2.90.0)
Syntax
public static string GetCharSet(
	this IRequest request
)

Parameters

request
Type: CefSharpIRequest
the request

Return Value

Type: String
character set e.g. UTF-8

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRequest. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also