fetch method

JSPromise<Response?> fetch(
  1. Request request,
  2. Server server
)

The serve on request call fn.

Implementation

external JSPromise<web.Response?> fetch(web.Request request, Server server);