repo_description: REST Client Extension for Visual Studio Code
repo_topics: graphql http http-client rest rest-api rest-client typescript visual-studio-code vscode vscode-extension
code: export enum RequestMetadata {
      /**
       * Represents a request name and used to indicate that the request is a named request
       */
      Name = 'name',
      /**
       * Used for request confirmation, especially for critical request
       */
      Note = 'note',
      /**
       * Represents don't follow the 3XX response as redirects
       */
      NoRedirect = 'no-redirect',
  
      /**
       * Represents the cookie jar is disabled for this request
       */
      NoCookieJar = 'no-cookie-jar',
  
      /**
       * Used to allow user to interactively input variables for this request
       */
      Prompt = 'prompt',
  }
  
  export function fromString(value: string): RequestMetadata | undefined {
      value = value.toLowerCase();
      const enumName = (Object.keys(RequestMetadata) as Array<keyof typeof RequestMetadata>).find(k => RequestMetadata[k] === value);
      return enumName ? RequestMetadata[enumName] : undefined;
  }