4.3Setting the Content Boundary

Created on Aug 17, 2026~1 min read

When building multipart form content, you can set the boundary (Boundary) for the multipart form content through the following chained-call methods:

cs
HttpRequestBuilder.Post("https://furion.net")    .SetMultipartContent(multipart =>    {        // Set the boundary via property (not recommended)        multipart.Boundary = "--------------------";        // Set the boundary via method (recommended), supports chained calls        multipart.SetBoundary("--------------------");    });