public void Send() { req.RequireResponseNotSent(); req.SetResponseSent(); sent = true; unsafe { lock (instLock) { Core.ice_core_fire_callback(callInfo, inst); callInfo = null; inst = null; } } }
public unsafe Response(Request _req, CoreCallInfo *_callInfo) { req = _req; callInfo = _callInfo; inst = Core.ice_glue_create_response(); }
public static extern unsafe CoreWriteStream *ice_glue_response_create_wstream( CoreResponse *resp );
public static extern unsafe bool ice_core_fire_callback( CoreCallInfo *call_info, CoreResponse *resp );
public static extern unsafe void ice_glue_response_add_header( CoreResponse *resp, string key, string value );
public static extern unsafe void ice_glue_response_set_cookie( CoreResponse *resp, string key, string value );
public static extern unsafe bool ice_glue_response_consume_rendered_template( CoreResponse *resp, System.IntPtr data );
public static extern unsafe void ice_glue_response_set_status( CoreResponse *resp, ushort status );
public static extern unsafe void ice_glue_response_set_file( CoreResponse *resp, string path );
public static extern unsafe void ice_glue_response_set_body( CoreResponse *resp, byte[] body, uint len );
public static extern unsafe void ice_glue_destroy_response(CoreResponse *resp);