Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/usage/request.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ client.AddDefaultUrlSegment("foo", "bar");
You can add cookies to a request using the `AddCookie` method:

```csharp
request.AddCookie("foo", "bar");
request.AddCookie("name", "value", "path", "domain");
```

RestSharp will add cookies from the request as cookie headers and then extract the matching cookies from the response. You can observe and extract response cookies using the `RestResponse.Cookies` properties, which has the `CookieCollection` type.
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v110/usage/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ client.AddDefaultUrlSegment("foo", "bar");
You can add cookies to a request using the `AddCookie` method:

```csharp
request.AddCookie("foo", "bar");
request.AddCookie("name", "value", "path", "domain");
```

RestSharp will add cookies from the request as cookie headers and then extract the matching cookies from the response. You can observe and extract response cookies using the `RestResponse.Cookies` properties, which has the `CookieCollection` type.
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v111/usage/request.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ client.AddDefaultUrlSegment("foo", "bar");
You can add cookies to a request using the `AddCookie` method:

```csharp
request.AddCookie("foo", "bar");
request.AddCookie("name", "value", "path", "domain");
```

RestSharp will add cookies from the request as cookie headers and then extract the matching cookies from the response. You can observe and extract response cookies using the `RestResponse.Cookies` properties, which has the `CookieCollection` type.
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v112/usage/request.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ client.AddDefaultUrlSegment("foo", "bar");
You can add cookies to a request using the `AddCookie` method:

```csharp
request.AddCookie("foo", "bar");
request.AddCookie("name", "value", "path", "domain");
```

RestSharp will add cookies from the request as cookie headers and then extract the matching cookies from the response. You can observe and extract response cookies using the `RestResponse.Cookies` properties, which has the `CookieCollection` type.
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v113/usage/request.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ client.AddDefaultUrlSegment("foo", "bar");
You can add cookies to a request using the `AddCookie` method:

```csharp
request.AddCookie("foo", "bar");
request.AddCookie("name", "value", "path", "domain");
```

RestSharp will add cookies from the request as cookie headers and then extract the matching cookies from the response. You can observe and extract response cookies using the `RestResponse.Cookies` properties, which has the `CookieCollection` type.
Expand Down