Update README.md
This commit is contained in:
parent
afcf67fc93
commit
9a84b81ac4
|
@ -56,7 +56,7 @@ print(urlRequest.request.allHTTPHeaderFields) // ["auth": "token"]
|
||||||
You can also access the `inputType` and `outputType` properties of any plugin and get the list of plugins with their `inputType` and `outputType` properties.
|
You can also access the `inputType` and `outputType` properties of any plugin and get the list of plugins with their `inputType` and `outputType` properties.
|
||||||
|
|
||||||
```swift
|
```swift
|
||||||
let authPlugin = AuthPlugin()
|
let authPlugin = AuthPlugin(keyPath: \.request)
|
||||||
print(authPlugin.inputType) // Void
|
print(authPlugin.inputType) // Void
|
||||||
print(authPlugin.outputType) // URLRequest
|
print(authPlugin.outputType) // URLRequest
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue