Genese complexity report

<- http2.d.ts
Methods : 114
Complexity index : 74.1
Cyclomatic complexity : 112
Cognitive complexity
100 % Correct 114/114
0 % Warning 0/114 (threshold : 10)
0 % Error 0/114 (threshold : 20)
Cyclomatic complexity
100 % Correct 114/114
0 % Warning 0/114 (threshold : 5)
0 % Error 0/114 (threshold : 10)
Methods of http2.d.ts
Complexity Index 1 Cyclomatic complexity 0
                            
                                
                
                    constructor(stream: ServerHttp2Stream, headers: IncomingHttpHeaders, options: stream.ReadableOptions, rawHeaders: ReadonlyArray<string>); // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
setTimeout Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    setTimeout(msecs: number, callback?: () => void): void; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
read Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    read(size?: number): Buffer | string | null; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    addListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "close", listener: () => void): this; // ---------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "data", listener: (chunk: Buffer | string) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "end", listener: () => void): this; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
emit Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    emit(event: "aborted", hadError: boolean, code: number): boolean; // -------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "close"): boolean; // ------------------------------------------ +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "data", chunk: Buffer | string): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "end"): boolean; // -------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "readable"): boolean; // ------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "error", err: Error): boolean; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: string | symbol, ...args: any[]): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    on(event: "aborted", listener: (hadError: boolean, code: number) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "close", listener: () => void): this; // ---------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "data", listener: (chunk: Buffer | string) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "end", listener: () => void): this; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    on(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    once(event: "aborted", listener: (hadError: boolean, code: number) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "close", listener: () => void): this; // ---------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "data", listener: (chunk: Buffer | string) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "end", listener: () => void): this; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    once(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    prependListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "close", listener: () => void): this; // ---------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "end", listener: () => void): this; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
            
                    prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "close", listener: () => void): this; // ---------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "end", listener: () => void): this; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "readable", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "error", listener: (err: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
Complexity Index 0.2 Cyclomatic complexity 0
                            
                                
                
                    constructor(stream: ServerHttp2Stream); // -------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
addTrailers Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
                    addTrailers(trailers: OutgoingHttpHeaders): void; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
end Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
                    end(callback?: () => void): void; // ----------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
end Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    end(data: string | Uint8Array, callback?: () => void): void; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
end Complexity Index 1 Cyclomatic complexity 1
                            
                                
                    
                    end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): void; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
getHeader Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
                    getHeader(name: string): string; // ------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
getHeaderNames Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    getHeaderNames(): string[]; // ------------ +0.3 Complexity index (+0.3 atomic)
            
                            
                        
getHeaders Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                    
                    getHeaders(): OutgoingHttpHeaders; // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
hasHeader Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    hasHeader(name: string): boolean; // -------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
removeHeader Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
                    removeHeader(name: string): void; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
setHeader Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    setHeader(name: string, value: number | string | ReadonlyArray<string>): void; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
setTimeout Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    setTimeout(msecs: number, callback?: () => void): void; // ------------------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
write Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    write(chunk: string | Uint8Array, callback?: (err: Error) => void): boolean; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
write Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
                    write(chunk: string | Uint8Array, encoding: BufferEncoding, callback?: (err: Error) => void): boolean; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
writeContinue Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                    
                    writeContinue(): void; // --------------------------------------------------------------------------------------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
writeHead Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                    
                    writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
writeHead Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders): this; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
createPushResponse Complexity Index 1.1 Cyclomatic complexity 1
                            
                                
                    
                    createPushResponse(headers: OutgoingHttpHeaders, callback: (err: Error | null, res: Http2ServerResponse) => void): void; // ------- +1.1 Complexity index (+1.1 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    addListener(event: "close", listener: () => void): this; // ----------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "error", listener: (error: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
addListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "finish", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
addListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "pipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
addListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
addListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    addListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
            
                    emit(event: "close"): boolean; // ------------------------------------------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "drain"): boolean; // ------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "error", error: Error): boolean; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
emit Complexity Index 0.3 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "finish"): boolean; // -------------------- +0.3 Complexity index (+0.3 atomic)
            
                            
                        
emit Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "pipe", src: stream.Readable): boolean; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
emit Complexity Index 0.6 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: "unpipe", src: stream.Readable): boolean; // ------- +0.6 Complexity index (+0.6 atomic)
            
                            
                        
emit Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    emit(event: string | symbol, ...args: any[]): boolean; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    on(event: "close", listener: () => void): this; // -------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "error", listener: (error: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
on Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "finish", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
on Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "pipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
on Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    on(event: "unpipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
on Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    on(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    once(event: "close", listener: () => void): this; // --------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "error", listener: (error: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
once Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "finish", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
once Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "pipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
once Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    once(event: "unpipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
once Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    once(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    prependListener(event: "close", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "error", listener: (error: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "finish", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
prependListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
prependListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
            
                    prependOnceListener(event: "close", listener: () => void): this; // ------------------------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "drain", listener: () => void): this; // ------- +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.7 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "error", listener: (error: Error) => void): this; // ------- +0.7 Complexity index (+0.7 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.5 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "finish", listener: () => void): this; // ------------------ +0.5 Complexity index (+0.5 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
prependOnceListener Complexity Index 0.9 Cyclomatic complexity 1
                            
                                
                    
                    prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; // ------- +0.9 Complexity index (+0.9 atomic)
            
                            
                        
getDefaultSettings Complexity Index 0.2 Cyclomatic complexity 1
                            
                                
                
            
                export function getDefaultSettings(): Settings; // ------- +0.2 Complexity index (+0.2 atomic)
            
                            
                        
getPackedSettings Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
                export function getPackedSettings(settings: Settings): Buffer; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
getUnpackedSettings Complexity Index 0.4 Cyclomatic complexity 1
                            
                                
                
                export function getUnpackedSettings(buf: Uint8Array): Settings; // ------- +0.4 Complexity index (+0.4 atomic)
            
                            
                        
createServer Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                export function createServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server; // ------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
createServer Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
                export function createServer(options: ServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
createSecureServer Complexity Index 0.8 Cyclomatic complexity 1
                            
                                
                
            
                export function createSecureServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer; // ------------------- +0.8 Complexity index (+0.8 atomic)
            
                            
                        
createSecureServer Complexity Index 1 Cyclomatic complexity 1
                            
                                
                
                export function createSecureServer(options: SecureServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer; // ------- +1.0 Complexity index (+1.0 atomic)
            
                            
                        
connect Complexity Index 1.7 Cyclomatic complexity 1
                            
                                
                
            
                export function connect(authority: string | url.URL, listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): ClientHttp2Session; // ---------------------- +1.7 Complexity index (+1.7 atomic)
            
                            
                        
connect Complexity Index 2.1 Cyclomatic complexity 1
                            
                                
                
                export function connect( // --------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)
                    authority: string | url.URL, // ------------------------------------------------------------------------------------------------------------------------------------- +0.5 Complexity index (+0.5 atomic)
                    options?: ClientSessionOptions | SecureClientSessionOptions, // ----------------------------------------------------------------------------------------------------- +0.4 Complexity index (+0.4 atomic)
                    listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void // ----------------------------------------------------------------------------- +1.0 Complexity index (+1.0 atomic)
                ): ClientHttp2Session; // ----------------------------------------------------------------------------------------------------------------------------------------------- +0.1 Complexity index (+0.1 atomic)