一款简单易用的基础网络通讯组件库。

StreamHttpContent 构造函数

初始化 StreamHttpContent 类的一个新实例

Definition

命名空间: TouchSocket.Http
程序集: TouchSocket.Http (在 TouchSocket.Http.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public StreamHttpContent(
	Stream stream,
	int bufferLength = 65536,
	int maxSpeed = 2147483647
)

参数

stream  Stream

[缺少 "M:TouchSocket.Http.StreamHttpContent.#ctor(System.IO.Stream,System.Int32,System.Int32)" 的 <param name="stream"/> 文档]

bufferLength  Int32  (Optional)

[缺少 "M:TouchSocket.Http.StreamHttpContent.#ctor(System.IO.Stream,System.Int32,System.Int32)" 的 <param name="bufferLength"/> 文档]

maxSpeed  Int32  (Optional)

[缺少 "M:TouchSocket.Http.StreamHttpContent.#ctor(System.IO.Stream,System.Int32,System.Int32)" 的 <param name="maxSpeed"/> 文档]

参见