Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding base64 request and tls connection #381

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SamuelLucasVM
Copy link

New Features Added

  • requestB64

Receives a string instead of a json like, request function, and its checks whether if this string is a base64 code. After that, the base64 message is decoded and sent to the server.

  • connectTls

Connects to the backend with basic TlsConfig, using the InsecureSkipVerify.

return errors.New("connecting to a pitaya server in the init context is not supported")
}

config := &tls.Config{GetConfigForClient: func(*tls.ClientHelloInfo) (*tls.Config, error) { return nil, nil }, InsecureSkipVerify: true}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm missing a way to pass the TLS Certificates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants