Share via


FormFeature.ReadForm Method

Definition

Parses the request body as a form.

If the request body has not been previously read, this API performs a synchronous (blocking) read on the HTTP input stream which may be unsupported or can adversely affect application performance. Consider using ReadFormAsync(CancellationToken) instead.

public:
 virtual Microsoft::AspNetCore::Http::IFormCollection ^ ReadForm();
public Microsoft.AspNetCore.Http.IFormCollection ReadForm ();
abstract member ReadForm : unit -> Microsoft.AspNetCore.Http.IFormCollection
override this.ReadForm : unit -> Microsoft.AspNetCore.Http.IFormCollection
Public Function ReadForm () As IFormCollection

Returns

The IFormCollection.

Implements

Applies to