Lines Matching refs:response
47 MHD_Response* response = MHD_create_response_from_buffer(strlen(data), in SendOK() local
50 int ret = MHD_queue_response(connection, 200, response); in SendOK()
51 MHD_destroy_response(response); in SendOK()
56 MHD_Response* response = MHD_create_response_from_buffer(strlen(msg), in SendError() local
59 int ret = MHD_queue_response(connection, 500, response); in SendError()
60 MHD_destroy_response(response); in SendError()
66 MHD_Response* response = MHD_create_response_from_buffer(data->size(), in SendData() local
69 MHD_add_response_header(response, "Content-Type", type); in SendData()
72 MHD_add_response_header(response, "Content-Disposition", dispositionString); in SendData()
75 int ret = MHD_queue_response(connection, MHD_HTTP_OK, response); in SendData()
76 MHD_destroy_response(response); in SendData()
83 MHD_Response* response = MHD_create_response_from_buffer( in SendTemplate() local
87 MHD_add_response_header (response, "Access-Control-Allow-Origin", "*"); in SendTemplate()
92 MHD_add_response_header (response, "Location", redirectUrl); in SendTemplate()
96 int ret = MHD_queue_response(connection, status, response); in SendTemplate()
97 MHD_destroy_response(response); in SendTemplate()