Inheritance: IResponse
Ejemplo n.º 1
0
        public ResponseBuilder Return(string body)
        {
            var bufferedBody = new BufferedBody(body);
            _contentLength = bufferedBody.Length;
            _response = bufferedBody;

            return this;
        }
Ejemplo n.º 2
0
        public ResponseBuilder Return(string body)
        {
            var bufferedBody = new BufferedBody(body);

            _contentLength = bufferedBody.Length;
            _response      = bufferedBody;

            return(this);
        }