ChromiumFX/Generated/Remote/CfrServer.cs
/// <summary>
/// Send an HTTP 200 "OK" response to the connection identified by
/// |connectionId|. |contentType| is the response content type (e.g.
/// "text/html"), |data| is the response content, and |dataSize| is the size
/// of |data| in bytes. The contents of |data| will be copied. The connection
/// will be closed automatically after the response is sent.
/// </summary>
/// <remarks>
/// See also the original CEF documentation in
/// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_server_capi.h">cef/include/capi/cef_server_capi.h</see>.
/// </remarks>
Send an HTTP 200 "OK" response to the connection identified by
|connectionId|.
Send an HTTP 200 " OK " response to the connection identified by |connectionId| .
public void SendHttp200response(int connectionId, string contentType, RemotePtr data, ulong dataSize) {
            var connection = RemotePtr.connection;
            var call = new CfxServerSendHttp200responseRemoteCall();
            call.@this = RemotePtr.ptr;
            call.connectionId = connectionId;
            call.contentType = contentType;
            if(data.connection != connection) throw new ArgumentException("Render process connection mismatch.", "data");
            call.data = data.ptr;
            call.dataSize = dataSize;
            call.RequestExecution(connection);
        }
public void SendHttp200response ( int connectionId , string contentType , RemotePtr data , ulong dataSize ) { var connection = RemotePtr . connection ; var call = new CfxServerSendHttp200responseRemoteCall ( ) ; call . @this = RemotePtr . ptr ; call . connectionId = connectionId ; call . contentType = contentType ; if ( data . connection != connection ) throw new ArgumentException ( " " , " " ) ; call . data = data . ptr ; call . dataSize = dataSize ; call . RequestExecution ( connection ) ; }
Send an HTTP 200 "OK" response to the connection identified by
|connectionId|.
Send an HTTP 200 " OK " response to the connection identified by |connectionId| .
connectionId
int
contentType
string
data
RemotePtr
dataSize
ulong
remarks
See also the original CEF documentation in
cef/include/capi/cef_server_capi.h
See also the original CEF documentation in cef / include / capi / cef_server_capi . h