openai/src/4c58b254-aea5-40aa-b54d-9586a1690451/README.md
2023-10-10 11:49:16 +02:00

60 lines
1.8 KiB
Markdown

```
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# final class Http (Details)
> namespace: **VDM\Joomla\Openai\Utilities**
> extends: **JoomlaHttp**
```uml
@startuml
class Http << (F,LightGreen) >> #RoyalBlue {
# array $defaultHeaders
+ __construct(?string $token, ?string $orgToken = null)
+ setTokens(?string $token = null, ?string $orgToken = null)
+ setToken(string $token)
+ setOrgToken(string $token)
}
note right of Http::__construct
Constructor.
since: 3.2.0
end note
note right of Http::setTokens
Change the Tokens.
since: 3.2.0
end note
note right of Http::setToken
Change the User Token.
since: 3.2.0
end note
note right of Http::setOrgToken
Change the Organization Token.
since: 3.2.0
end note
@enduml
```
---
```
██╗ ██████╗██████╗
██║██╔════╝██╔══██╗
██║██║ ██████╔╝
██ ██║██║ ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
╚════╝ ╚═════╝╚═════╝
```
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)