Skip to main content

setGyazoServerState

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / main/state/appState / setGyazoServerState

Function: setGyazoServerState()

setGyazoServerState(server: unknown, port: number | null, options?: StateUpdateOptions): void

Defined in: main/state/appState.ts:301

Sets the active Gyazo OAuth callback server and port together.

Parameters​

server​

unknown

Active Gyazo OAuth server instance.

port​

number | null

Local callback port used by the server.

options?​

StateUpdateOptions

Additional metadata forwarded to the state manager.

Returns​

void