This version of Unity is unsupported.

UnityWebRequest.SerializeFormSections

Declaration

public static byte[] SerializeFormSections(List<IMultipartFormSection> multipartFormSections, byte[] boundary);

Parameters

multipartFormSections A List of IMultipartFormSection objects.
boundary A unique boundary string to separate the form sections.

Returns

byte[] A byte array of raw multipart form data.

Description

Converts a List of IMultipartFormSection objects into a byte array containing raw multipart form data.

See Also: GenerateBoundary.