Version: 2019.4

UnityWebRequest.SerializeFormSections

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

Parameters

multipartFormSectionsA List of IMultipartFormSection objects.
boundaryA 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.