public HotpResponse(HotpStatus status, string contentType, string bodyContent) { _Body = new HotpResponseBody(bodyContent); _Head = new HotpResponseHead(status, bodyContent.Length, contentType); }
public HotpResponseHead(HotpStatus status, int contentLength, string mimeType) { _Status = status; _ContentLength = contentLength; _MimeType = mimeType; }