NIMPassThroughHttpData Class Reference

Inherits from NSObject
Declared in NIMPassThroughOption.h

Overview

HTTP data in pass-through mode

  zone

Map an upstream host Use the default configuration if unspecified Optional

@property (nullable, nonatomic, copy) NSString *zone

Discussion

Map an upstream host Use the default configuration if unspecified Optional

Declared In

NIMPassThroughOption.h

  path

Relative path in the URL except host Required

@property (nonatomic, copy) NSString *path

Discussion

Relative path in the URL except host Required

Declared In

NIMPassThroughOption.h

  method

HTTP method POST by default Optional

@property (nonatomic, assign) NIPassThroughHttpMethod method

Discussion

HTTP method POST by default Optional

Declared In

NIMPassThroughOption.h

  header

HTTP header The JSON format is required Optional

@property (nullable, nonatomic, copy) NSString *header

Discussion

HTTP header The JSON format is required Optional

Declared In

NIMPassThroughOption.h

  body

HTTP body Custom format Optional for the GET method and required for the POST and PUT methods

@property (nullable, nonatomic, copy) NSString *body

Discussion

HTTP body Custom format Optional for the GET method and required for the POST and PUT methods

Declared In

NIMPassThroughOption.h