Header menu logo fable-electron-docs-api

RemotingConfig Type

Configuration for a Remoting proxy.

Record fields

Record Field Description

ApiNameBase

Full Usage: ApiNameBase

Field type: string

No effect for Main Process. Kept for uniformity.

Field type: string

ApiNameMap

Full Usage: ApiNameMap

Field type: string -> string -> string

No effect for Main Process. Kept for uniformity.

Field type: string -> string -> string

ChannelNameMap

Full Usage: ChannelNameMap

Field type: string -> string -> string

A function that creates the name of the channel that messages are sent over/received from. The first parameter is the name of the type, while the second is the name of the field.

Field type: string -> string -> string

Windows

Full Usage: Windows

Field type: BrowserWindow array

Required when building a Main -> Renderer Proxy router. The array of windows that the messages are sent to.

Field type: BrowserWindow array

Type something to start searching.