Skip to content

Commit b938f08

Browse files
Add docs from gofiber/fiber@3593436
1 parent ddfd8fb commit b938f08

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/core/client/rest.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,22 @@ type Client struct {
9595
}
9696
```
9797

98-
New
98+
### New
9999

100100
New creates and returns a new Client object.
101101

102102
```go title="Signature"
103103
func New() *Client
104104
```
105105

106+
### NewWithClient
107+
108+
NewWithClient creates and returns a new Client object from an existing client object.
109+
110+
```go title="Signature"
111+
func NewWithClient(c *fasthttp.Client) *Client
112+
```
113+
106114
## REST Methods
107115

108116
### Get

0 commit comments

Comments
 (0)