Options
All
  • Public
  • Public/Protected
  • All
Menu

Module PassThroughServiceInterface

Index

Type Aliases

RequestProxyOptions: { body?: string; header?: string; method?: number; path: string; zone?: string }

Type declaration

  • Optional body?: string

    HTTP body,透传字符串

  • Optional header?: string

    HTTP header,JSON 格式字符串

  • Optional method?: number

    HTTP Method

    数字常量 (1-get, 2-post, 3-put, 4-delete),默认post

  • path: string

    HTTP path(不包含域名 host)

  • Optional zone?: string

    映射一个视频云 upstream host,不传用默认配置

RequestProxyResult: RequestProxyOptions