Table of Contents

Method SetContentLength

Namespace: Sisk.Core.Http.Streams
Assembly: Sisk.Core.dll

SetContentLength(long)

Sets the Content-Length header of this response stream. If this response stream is using chunked transfer encoding, this method will do nothing.

public void SetContentLength(long contentLength)

Parameters

contentLength long

The length in bytes of the content stream.