PSPDFFormRequest

@interface PSPDFFormRequest : NSObject

PSPDF_EMPTY_INIT_UNAVAILABLE

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

/// How the form data is to be encoded in the submission.
@property (nonatomic, readonly) PSPDFSubmitFormActionFormat submissionFormat;

/// Keys and values of the data to be submitted.
@property (nonatomic, readonly) NSDictionary<NSString *, id> *formValues;

/// The URL request that will be used to fulfill the submission.
@property (nonatomic, readonly) NSURLRequest *request;

@end

Undocumented

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Undocumented

    Declaration

    Objective-C

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

    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 }