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

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

            _contentLength = bufferedBody.Length;
            _response      = bufferedBody;

            return(this);
        }