Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProtoHttpConfig<RequestType, ResponseType>

Main configuration object. Describes serialization, deserialization

RequestType is supposed to be YourProtoRequestMessage.AsObject. ResponseType is supposed to be YourProtoResponseMessage.AsObject.

Type Parameters

  • RequestType

  • ResponseType

Hierarchy

  • ProtoHttpConfig

Index

Properties

versionHeader?: { name: string; value: string }

If provided, will be used by VersionInterceptor

Type declaration

  • name: string
  • value: string

Methods

  • deserializer(response: ArrayBuffer): ResponseType
  • isErrorResponse(response: ResponseType): boolean
  • serializer(request: RequestType): ArrayBuffer

Generated using TypeDoc