/// <summary>
        /// Set the header values. If a Referer value exists in the header map it will
        /// be removed and ignored.
        /// </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 SetHeaderMap(System.Collections.Generic.List <string[]> headerMap)
        {
            var call = new CfxRequestSetHeaderMapRenderProcessCall();

            call.@this     = proxyId;
            call.headerMap = headerMap;
            call.RequestExecution(this);
        }
예제 #2
0
        /// <summary>
        /// Set the header values. If a Referer value exists in the header map it will
        /// be removed and ignored.
        /// </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 SetHeaderMap(System.Collections.Generic.List <string[]> headerMap)
        {
            var call = new CfxRequestSetHeaderMapRenderProcessCall();

            call.self      = CfrObject.Unwrap(this);
            call.headerMap = headerMap;
            call.RequestExecution(this);
        }