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