public void End(HttpResponse resp) { requireValid(); unsafe { Core.ice_http_server_endpoint_context_end_with_response( inst, resp.Take() ); inst = null; } }
public unsafe void endpointCallback( CoreEndpointContext *rawCtx, CoreHttpRequest *rawReq, CoreResource *call_with ) { EndpointContext ctx = new EndpointContext(rawCtx); HttpRequest req = new HttpRequest(rawReq); realEndpointCallback(ctx, req); }
public static extern unsafe bool ice_http_server_endpoint_context_end_with_response( CoreEndpointContext *ctx, CoreHttpResponse *resp );
public unsafe EndpointContext(CoreEndpointContext *_inst) { inst = _inst; }