On this page:
package-client?
current-package-client
make-package-client
8.12

2 Package Catalog Clients🔗ℹ

A package catalog client, or simply package client, is an object used to connect to a package catalog. Clients encapsulate state associated with the catalog such as caches and network connections. The current-package-client parameter provides a client to all of the functions in package-analysis. By default, this parameter is set to a client for the official package catalog at pkgs.racket-lang.org.

procedure

(package-client? v)  boolean?

  v : any/c
A predicate for package clients.

parameter

(current-package-client)  package-client?

(current-package-client client)  void?
  client : package-client?
 = 
(make-package-client
 (string->url "https://pkgs.racket-lang.org"))
A parameter that defines the package client used by package-analysis. By default, a client for the official package catalog is used.

procedure

(make-package-client catalog)  package-client?

  catalog : url?
Constructs a new package client for catalog.