Table of Contents

Struct FormFile

public struct FormFile
Inherited Members
Extension Methods

Constructors

FormFile(AudioClip, string, MIMEType)

public FormFile(AudioClip audioClip, string fileName, MIMEType contentType = MIMEType.Json)

Parameters

audioClip AudioClip
fileName string
contentType MIMEType

FormFile(Sprite, string, MIMEType)

public FormFile(Sprite sprite, string fileName, MIMEType contentType = MIMEType.Json)

Parameters

sprite Sprite
fileName string
contentType MIMEType

FormFile(byte[], string, MIMEType)

public FormFile(byte[] data, string fileName, MIMEType contentType = MIMEType.Json)

Parameters

data byte[]
fileName string
contentType MIMEType

FormFile(string, MIMEType)

public FormFile(string filePath, MIMEType contentType = MIMEType.Json)

Parameters

filePath string
contentType MIMEType

FormFile(string, string, MIMEType)

public FormFile(string filePath, string fileName, MIMEType contentType = MIMEType.Json)

Parameters

filePath string
fileName string
contentType MIMEType

FormFile(Texture2D, string, MIMEType)

public FormFile(Texture2D texture, string fileName, MIMEType contentType = MIMEType.Json)

Parameters

texture Texture2D
fileName string
contentType MIMEType

Properties

ContentType

public MIMEType ContentType { readonly get; set; }

Property Value

MIMEType

Data

public byte[] Data { readonly get; set; }

Property Value

byte[]

FileName

public string FileName { readonly get; set; }

Property Value

string

IsEmpty

public readonly bool IsEmpty { get; }

Property Value

bool