ChromiumFX/Generated/CfxServer.cs
/// <summary>
/// Send an HTTP 500 "Internal Server Error" response to the connection
/// identified by |connectionId|. |errorMessage| is the associated error
/// message. 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 500 "Internal Server Error" response to the connection
identified by |connectionId|. |errorMessage| is the associated error
message. The connection will be closed automatically after the response is
sent.
Send an HTTP 500 " Internal Server Error " response to the connection identified by |connectionId| . |errorMessage| is the associated error message . The connection will be closed automatically after the response is sent .
public void SendHttp500response(int connectionId, string errorMessage) {
            var errorMessage_pinned = new PinnedString(errorMessage);
            CfxApi.Server.cfx_server_send_http500response(NativePtr, connectionId, errorMessage_pinned.Obj.PinnedPtr, errorMessage_pinned.Length);
            errorMessage_pinned.Obj.Free();
        }
public void SendHttp500response ( int connectionId , string errorMessage ) { var errorMessage_pinned = new PinnedString ( errorMessage ) ; CfxApi . Server . cfx_server_send_http500response ( NativePtr , connectionId , errorMessage_pinned . Obj . PinnedPtr , errorMessage_pinned . Length ) ; errorMessage_pinned . Obj . Free ( ) ; }
Send an HTTP 500 "Internal Server Error" response to the connection
identified by |connectionId|.
Send an HTTP 500 " Internal Server Error " response to the connection identified by |connectionId| .
connectionId
int
errorMessage
string
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