struct OpenAI::Client::ProxyConfig

Defined in:

openai/config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(user : String | Nil, password : String | Nil, proxy_url : String, proxy_port : Int32) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(user _user = @user, password _password = @password, proxy_url _proxy_url = @proxy_url, proxy_port _proxy_port = @proxy_port) #

[View source]
def password : String | Nil #

def proxy_port : Int32 #

def proxy_url : String #

def user : String | Nil #