ChromiumFX/Generated/CfxServer.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, IntPtr data, ulong dataSize) {
            var contentType_pinned = new PinnedString(contentType);
            CfxApi.Server.cfx_server_send_http200response(NativePtr, connectionId, contentType_pinned.Obj.PinnedPtr, contentType_pinned.Length, data, (UIntPtr)dataSize);
            contentType_pinned.Obj.Free();
        }
public void SendHttp200response ( int connectionId , string contentType , IntPtr data , ulong dataSize ) { var contentType_pinned = new PinnedString ( contentType ) ; CfxApi . Server . cfx_server_send_http200response ( NativePtr , connectionId , contentType_pinned . Obj . PinnedPtr , contentType_pinned . Length , data , ( UIntPtr ) dataSize ) ; contentType_pinned . Obj . Free ( ) ; }
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
IntPtr
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