FormVar Type

The form variable for the current request.

Remarks

This type describes a form variable that is to be posted to the URL when an upload action is performed. The type contains fields which describe this variable's name and value.

Fields

contentType
String

This property specifies the Content-Type header for a Form Variable.

When a form variable is added to the class, the Content-Type header for the form variable can be controlled by this property. To omit the Content-Type header completely for a form variable set this to empty string.

The default value is "text/plain".

name
String

This property contains the form variable name for the current request. If you are emulating the behavior of an existing HTML web form, this property will contain the name attribute of the 'INPUT' tag in the form which you are emulating.

value
String

This property contains the form variable value for the current request.

Constructors

public init()
public init(name: String, value: String)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 macOS Edition - Version 20.0 [Build 8161]