PSPDFFormRequest


@interface PSPDFFormRequest : NSObject

Models a request to submit a form in a PDF document to a remove server.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Creates and returns a new form request.

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithFormat:(PSPDFSubmitFormActionFormat)format
            values:(nonnull NSDictionary<NSString *, id> *)values
           request:(nonnull NSURLRequest *)request;

    Swift

    init(format: PSPDFSubmitFormActionFormat, values: [String : Any], request: URLRequest)
  • How the form data is to be encoded in the submission.

    Declaration

    Objective-C

    @property (readonly, nonatomic) PSPDFSubmitFormActionFormat submissionFormat;

    Swift

    var submissionFormat: PSPDFSubmitFormActionFormat { get }
  • Keys and values of the data to be submitted.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        NSDictionary<NSString *, id> *_Nonnull formValues;

    Swift

    var formValues: [String : Any] { get }
  • The URL request that will be used to fulfill the submission.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSURLRequest *_Nonnull request;

    Swift

    var request: URLRequest { get }