Create a FlightClient.
Configuration options for the client
A new FlightClient instance
const client = createFlightClient({ url: "https://flight.example.com:8815", headers: { "Authorization": "Bearer token" }})try { const info = await client.getFlightInfo({ type: "path", path: ["my-dataset"] }) console.log(info)} finally { client.close()} Copy
const client = createFlightClient({ url: "https://flight.example.com:8815", headers: { "Authorization": "Bearer token" }})try { const info = await client.getFlightInfo({ type: "path", path: ["my-dataset"] }) console.log(info)} finally { client.close()}
Create a FlightClient.