nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / MultipartForm

MultipartForm

Full name Microsoft.VisualBasic.Net.Http.MultipartForm Assembly Microsoft.VisualBasic.Runtime Members 8

01 Syntax

Microsoft.VisualBasic.Net.Http.MultipartForm

02 Methods

NameOverloadsSummary
Add 2 添加文件或者数据包等
POST 1 POST this multipart form package to a specific web api
Dump 1
ToBase64 1
Dispose 1

03 Fields

NameOverloadsSummary
boundary 2 需要使用Encoding.ASCII来进行编码

04 Members

method Add overload 2 #
Add(String, String)

Add form data.(添加键值对数据)

Remarks

字符串键值对是使用Encoding.UTF8编码的

Parameters
NameTypeDescription
name$String

-

value$String

-

method Add #
Add(String, IEnumerable(Of Byte), String, String)

添加文件或者数据包等

Parameters
NameTypeDescription
name$String

-

bufferIEnumerable(Of Byte)

-

method POST #
POST(String, Dictionary(Of String, String))

POST this multipart form package to a specific web api

Parameters
NameTypeDescription
api$String

-

headersDictionary(Of String, String)

-

field boundary #
boundary

需要使用Encoding.ASCII来进行编码

field boundary overload 2 #
boundary
method Dump #
Dump(String)
method ToBase64 #
ToBase64()
method Dispose #
Dispose()