Example #1
0
        public unsafe CoreHttpResponse *Take()
        {
            requireValid();

            var currentInst = inst;

            inst = null;
            return(currentInst);
        }
Example #2
0
 public static extern unsafe bool ice_http_server_endpoint_context_end_with_response(
     CoreEndpointContext *ctx,
     CoreHttpResponse *resp
     );
Example #3
0
 public static extern unsafe void ice_http_response_set_body(
     CoreHttpResponse *resp,
     byte[] data,
     uint len
     );
Example #4
0
 public static extern unsafe void ice_http_response_destroy(
     CoreHttpResponse *resp
     );
Example #5
0
 public HttpResponse()
 {
     unsafe {
         inst = Core.ice_http_response_create();
     }
 }