You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43Lines changed: 43 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,7 @@ fmt.Printf("Remote transmission RPC version (v%d) is compatible with our transmi
77
77
-[Queue Movement Requests](#queue-movement-requests)
78
78
-[Free Space](#free-space)
79
79
-[Bandwidth Groups](#bandwidth-groups)
80
+
-[Debugging](#debugging)
80
81
81
82
### Torrent Requests
82
83
@@ -434,3 +435,45 @@ Mapped as [BandwidthGroupSet()](https://pkg.go.dev/github.com/hekmon/transmissio
434
435
435
436
Mapped as [BandwidthGroupGet()](https://pkg.go.dev/github.com/hekmon/transmissionrpc/v3?tab=doc#Client.BandwidthGroupGet).
436
437
438
+
## Debugging
439
+
440
+
If you want to (or need to) inspect the requests made by the lib, you can use a custom round tripper within a custom HTTP client. I personnaly like to use the [debuglog](https://pkg.go.dev/golift.io/starr/debuglog) package from the [starr](https://github.com/golift/starr) project. Example below.
0 commit comments