comparison Core/HttpServer/IHttpOutputStream.h @ 3154:6e8822be2f08

Fix compatibility with DICOMweb plugin (allow multipart answers over HTTP Keep-Alive)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Jan 2019 12:09:04 +0100
parents 4e43e67f8ecf
children 94f4a18a79cc
comparison
equal deleted inserted replaced
3153:706b60e7ee1e 3154:6e8822be2f08
48 } 48 }
49 49
50 virtual void OnHttpStatusReceived(HttpStatus status) = 0; 50 virtual void OnHttpStatusReceived(HttpStatus status) = 0;
51 51
52 virtual void Send(bool isHeader, const void* buffer, size_t length) = 0; 52 virtual void Send(bool isHeader, const void* buffer, size_t length) = 0;
53
54 // Disable HTTP keep alive for this single HTTP connection. Must
55 // be called before sending the "HTTP/1.1 200 OK" header.
56 virtual void DisableKeepAlive() = 0;
53 }; 57 };
54 } 58 }