WebBrowserExtensionsLoadUrlWithPostData(IChromiumWebBrowserBase, String, Byte, String) Method |
Version 130.1.90
Creates a new instance of IRequest with the specified Url and Method = POST and then calls
LoadRequest(IRequest).
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public static void LoadUrlWithPostData(
this IChromiumWebBrowserBase browser,
string url,
byte[] postDataBytes,
string contentType = null
)
public:
[ExtensionAttribute]
static void LoadUrlWithPostData(
IChromiumWebBrowserBase^ browser,
String^ url,
array<unsigned char>^ postDataBytes,
String^ contentType = nullptr
)
Parameters
- browser IChromiumWebBrowserBase
- browser this method extends
- url String
- url to load
- postDataBytes Byte
- post data as byte array
- contentType String (Optional)
- (Optional) if set the Content-Type header will be set
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IChromiumWebBrowserBase. 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