ChromiumFX/Generated/Remote/CfrServer.cs
/// <summary>
/// Send raw data directly to the connection identified by |connectionId|.
/// |data| is the raw data and |dataSize| is the size of |data| in bytes. The
/// contents of |data| will be copied. No validation of |data| is performed
/// internally so the client should be careful to send the amount indicated by
/// the "Content-Length" header, if specified. See SendHttpResponse
/// documentation for intended usage.
/// </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 raw data directly to the connection identified by |connectionId|.
Send raw data directly to the connection identified by |connectionId| .
public void SendRawData(int connectionId, RemotePtr data, ulong dataSize) {
            var connection = RemotePtr.connection;
            var call = new CfxServerSendRawDataRemoteCall();
            call.@this = RemotePtr.ptr;
            call.connectionId = connectionId;
            if(data.connection != connection) throw new ArgumentException("Render process connection mismatch.", "data");
            call.data = data.ptr;
            call.dataSize = dataSize;
            call.RequestExecution(connection);
        }
public void SendRawData ( int connectionId , RemotePtr data , ulong dataSize ) { var connection = RemotePtr . connection ; var call = new CfxServerSendRawDataRemoteCall ( ) ; call . @this = RemotePtr . ptr ; call . connectionId = connectionId ; if ( data . connection != connection ) throw new ArgumentException ( " " , " " ) ; call . data = data . ptr ; call . dataSize = dataSize ; call . RequestExecution ( connection ) ; }
Send raw data directly to the connection identified by |connectionId|.
Send raw data directly to the connection identified by |connectionId| .
connectionId
int
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