Example #1
0
        /// <summary>
        /// Create a new CfrPostData object.
        /// </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 static CfrPostData Create()
        {
            var call = new CfxPostDataCreateRemoteCall();

            call.RequestExecution();
            return(CfrPostData.Wrap(new RemotePtr(call.__retval)));
        }
Example #2
0
        /// <summary>
        /// Create a new CfrPostData object.
        /// </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 static CfrPostData Create()
        {
            var connection = CfxRemoteCallContext.CurrentContext.connection;
            var call       = new CfxPostDataCreateRemoteCall();

            call.RequestExecution(connection);
            return(CfrPostData.Wrap(new RemotePtr(connection, call.__retval)));
        }