/// <summary> /// Set the referrer URL and policy. If non-NULL the referrer URL must be fully /// qualified with an HTTP or HTTPS scheme component. Any username, password or /// ref component will be removed. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_request_capi.h">cef/include/capi/cef_request_capi.h</see>. /// </remarks> public void SetReferrer(string referrerUrl, CfxReferrerPolicy policy) { var call = new CfxRequestSetReferrerRenderProcessCall(); call.@this = proxyId; call.referrerUrl = referrerUrl; call.policy = (int)policy; call.RequestExecution(this); }
/// <summary> /// Set the referrer URL and policy. If non-NULL the referrer URL must be fully /// qualified with an HTTP or HTTPS scheme component. Any username, password or /// ref component will be removed. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_request_capi.h">cef/include/capi/cef_request_capi.h</see>. /// </remarks> public void SetReferrer(string referrerUrl, CfxReferrerPolicy policy) { var call = new CfxRequestSetReferrerRenderProcessCall(); call.self = CfrObject.Unwrap(this); call.referrerUrl = referrerUrl; call.policy = (int)policy; call.RequestExecution(this); }