Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ServiceDefinition<Request, Response>

A service definition interface

Acts as the value type for the ServiceRegistry map.

Type parameters

  • Request

  • Response

Hierarchy

  • ServiceDefinition

Index

Properties

Properties

Readonly id

id: number

The service ID

Readonly request

request: AbstractSerialiser<Request>

The datatype that is used for sending a request

Readonly response

response: AbstractSerialiser<Response>

The datatype that is constructed from the response

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.