Exemplo n.º 1
0
        public void Send()
        {
            req.RequireResponseNotSent();
            req.SetResponseSent();
            sent = true;

            unsafe {
                lock (instLock) {
                    Core.ice_core_fire_callback(callInfo, inst);
                    callInfo = null;
                    inst     = null;
                }
            }
        }
Exemplo n.º 2
0
 public unsafe Response(Request _req, CoreCallInfo *_callInfo)
 {
     req      = _req;
     callInfo = _callInfo;
     inst     = Core.ice_glue_create_response();
 }
Exemplo n.º 3
0
 public static extern unsafe CoreWriteStream *ice_glue_response_create_wstream(
     CoreResponse *resp
     );
Exemplo n.º 4
0
 public static extern unsafe bool ice_core_fire_callback(
     CoreCallInfo *call_info,
     CoreResponse *resp
     );
Exemplo n.º 5
0
 public static extern unsafe void ice_glue_response_add_header(
     CoreResponse *resp,
     string key,
     string value
     );
Exemplo n.º 6
0
 public static extern unsafe void ice_glue_response_set_cookie(
     CoreResponse *resp,
     string key,
     string value
     );
Exemplo n.º 7
0
 public static extern unsafe bool ice_glue_response_consume_rendered_template(
     CoreResponse *resp,
     System.IntPtr data
     );
Exemplo n.º 8
0
 public static extern unsafe void ice_glue_response_set_status(
     CoreResponse *resp,
     ushort status
     );
Exemplo n.º 9
0
 public static extern unsafe void ice_glue_response_set_file(
     CoreResponse *resp,
     string path
     );
Exemplo n.º 10
0
 public static extern unsafe void ice_glue_response_set_body(
     CoreResponse *resp,
     byte[] body,
     uint len
     );
Exemplo n.º 11
0
 public static extern unsafe void ice_glue_destroy_response(CoreResponse *resp);