coc.nvim
Version:
LSP based intellisense engine for neovim & vim8.
12 lines (11 loc) • 332 B
TypeScript
/// <reference types="node" />
import { Agent, RequestOptions } from 'http';
export declare function getAgent(protocol: string): Agent;
/**
* Fetch text from server
*/
export default function fetch(url: string, data?: string | {
[key: string]: any;
}, options?: RequestOptions): Promise<string | {
[key: string]: any;
}>;