HttpContent 转换 (Stream to HttpContent)
将流内容隐式转换为HttpContent对象。
命名空间: TouchSocket.Http程序集: TouchSocket.Http (在 TouchSocket.Http.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
public static implicit operator HttpContent (
Stream content
)
Public Shared Widening Operator CType (
content As Stream
) As HttpContent
F# does not support the declaration of new casting operators.
- content Stream
- 要转换的流内容。
HttpContent一个新的StreamHttpContent对象。