Skip to content

Connectum API Reference / @connectum/test-fixtures / types / FakeMethodOptions

Interface: FakeMethodOptions ​

Defined in: types.ts:156

Options for createFakeMethod.

Properties ​

methodKind? ​

optional methodKind?: "client_streaming" | "server_streaming" | "bidi_streaming" | "unary"

Defined in: types.ts:158

Method kind. Default: 'unary'


register? ​

optional register?: boolean

Defined in: types.ts:163

Whether to register the method in service.methods. Default: false Registering a name that the service already has throws.