-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35673ad
commit 7413da3
Showing
6 changed files
with
192 additions
and
11 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
--- | ||
title: Client.ts | ||
nav_order: 2 | ||
parent: Modules | ||
--- | ||
|
||
## Client overview | ||
|
||
Added in v1.3.0 | ||
|
||
--- | ||
|
||
<h2 class="text-delta">Table of contents</h2> | ||
|
||
- [constructor](#constructor) | ||
- [delete](#delete) | ||
- [get](#get) | ||
- [head](#head) | ||
- [layer](#layer) | ||
- [make](#make) | ||
- [options](#options) | ||
- [patch](#patch) | ||
- [post](#post) | ||
- [put](#put) | ||
- [model](#model) | ||
- [Client (interface)](#client-interface) | ||
- [tag](#tag) | ||
- [Client](#client) | ||
|
||
--- | ||
|
||
# constructor | ||
|
||
## delete | ||
|
||
**Signature** | ||
|
||
```ts | ||
export declare const delete: Handler | ||
``` | ||
Added in v1.3.0 | ||
## get | ||
**Signature** | ||
```ts | ||
export declare const get: Handler | ||
``` | ||
Added in v1.3.0 | ||
## head | ||
**Signature** | ||
```ts | ||
export declare const head: Handler | ||
``` | ||
Added in v1.3.0 | ||
## layer | ||
**Signature** | ||
```ts | ||
export declare const layer: Layer.Layer<Fetch, never, Client> | ||
``` | ||
Added in v1.3.0 | ||
## make | ||
**Signature** | ||
```ts | ||
export declare const make: Effect<Fetch, never, Client> | ||
``` | ||
Added in v1.3.0 | ||
## options | ||
**Signature** | ||
```ts | ||
export declare const options: Handler | ||
``` | ||
Added in v1.3.0 | ||
## patch | ||
**Signature** | ||
```ts | ||
export declare const patch: Handler | ||
``` | ||
Added in v1.3.0 | ||
## post | ||
**Signature** | ||
```ts | ||
export declare const post: Handler | ||
``` | ||
Added in v1.3.0 | ||
## put | ||
**Signature** | ||
```ts | ||
export declare const put: Handler | ||
``` | ||
Added in v1.3.0 | ||
# model | ||
## Client (interface) | ||
**Signature** | ||
```ts | ||
export interface Client { | ||
put: Fetch | ||
get: Fetch | ||
head: Fetch | ||
post: Fetch | ||
patch: Fetch | ||
delete: Fetch | ||
options: Fetch | ||
} | ||
``` | ||
|
||
Added in v1.3.0 | ||
|
||
# tag | ||
|
||
## Client | ||
|
||
**Signature** | ||
|
||
```ts | ||
export declare const Client: Tag<Client, Client> | ||
``` | ||
Added in v1.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
title: Interceptors/Url.ts | ||
nav_order: 8 | ||
parent: Modules | ||
--- | ||
|
||
## Url overview | ||
|
||
Added in v1.3.0 | ||
|
||
--- | ||
|
||
<h2 class="text-delta">Table of contents</h2> | ||
|
||
- [interceptor](#interceptor) | ||
- [Url](#url) | ||
|
||
--- | ||
|
||
# interceptor | ||
|
||
## Url | ||
|
||
**Signature** | ||
|
||
```ts | ||
export declare const Url: (base: string) => Effect.Effect<Interceptor.Context, HttpError, Response> | ||
``` | ||
Added in v1.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters