/// <summary> /// Set all values at one time. /// </summary> public void Set(string url, string method, CefPostData postData, CefStringMultiMap headerMap) { // TODO: check args fixed(char *url_str = url) fixed(char *method_str = method) { var n_url = new cef_string_t(url_str, url != null ? url.Length : 0); var n_method = new cef_string_t(method_str, method != null ? method.Length : 0); cef_request_t.invoke_set(this.ptr, &n_url, &n_method, postData.GetNativePointerAndAddRef(), headerMap.Handle); } }
/// <summary> /// Set all values at one time. /// </summary> public void Set(string url, string method, CefPostData postData, CefStringMultiMap headerMap) { // TODO: check args fixed (char* url_str = url) fixed (char* method_str = method) { var n_url = new cef_string_t(url_str, url != null ? url.Length : 0); var n_method = new cef_string_t(method_str, method != null ? method.Length : 0); cef_request_t.invoke_set(this.ptr, &n_url, &n_method, postData.GetNativePointerAndAddRef(), headerMap.Handle); } }
/// <summary> /// Set the post data. /// </summary> public void SetPostData(CefPostData postData) { cef_request_t.invoke_set_post_data(this.ptr, postData.GetNativePointerAndAddRef()); }
/// <summary> /// Set the post data. /// </summary> public void SetPostData(CefPostData postData) { cef_request_t.invoke_set_post_data(this.ptr, postData.GetNativePointerAndAddRef()); }