File tree 2 files changed +8
-0
lines changed 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ export const shouldSpawnCliProcess = (args: UserProvidedArgs): boolean => {
23
23
)
24
24
}
25
25
26
+ /**
27
+ * Arguments supported by Code's socket. It can be used to perform actions from
28
+ * the CLI in a running instance of Code (for example to open a file).
29
+ */
26
30
export interface OpenCommandPipeArgs {
27
31
type : "open"
28
32
fileURIs ?: string [ ]
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ import { SocketProxyProvider } from "../socket"
12
12
import { isFile , loadAMDModule } from "../util"
13
13
import { Router as WsRouter } from "../wsRouter"
14
14
15
+ /**
16
+ * This is the API of Code's web client server. code-server delegates requests
17
+ * to Code here.
18
+ */
15
19
export interface IServerAPI {
16
20
handleRequest ( req : http . IncomingMessage , res : http . ServerResponse ) : Promise < void >
17
21
handleUpgrade ( req : http . IncomingMessage , socket : net . Socket ) : void
You can’t perform that action at this time.
0 commit comments