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