Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Noooste authored Aug 13, 2024
1 parent 80ed73a commit 8606645
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,27 @@ defer session.Close()
session := azuretls.NewSessionWithContext(context.Background())
defer session.Close()
```
### Predefined browsers/devices
Some browsers/devices are already defined in the module:
- Chrome
- Firefox
- Opera
- Safari
- Edge
- Ios
In order to use them, you can simply do:
```go
// without context
session := azuretls.NewSession()
// don't forget to close the session when you no longer need it, to free up resources
defer session.Close()
session.Browser = azuretls.Firefox // JA3 and HTTP2 specifications will be automatically set
```

### Make Requests

#### REQUEST ARGUMENTS
Expand Down

0 comments on commit 8606645

Please sign in to comment.