Skip to content

feat: adding tls config into connect and base64 request#390

Open
SamuelLucasVM wants to merge 1 commit into
topfreegames:mainfrom
SamuelLucasVM:feat/base64-tls
Open

feat: adding tls config into connect and base64 request#390
SamuelLucasVM wants to merge 1 commit into
topfreegames:mainfrom
SamuelLucasVM:feat/base64-tls

Conversation

@SamuelLucasVM

Copy link
Copy Markdown

No description provided.

Comment thread xk6-pitaya/client.go
// str is the string passed in request
// returns a promise that will be resolved when the response is received
// the promise will be rejected if the timeout is reached before a response is received
func (c *Client) RequestB64(route string, b64msg string) *goja.Promise { // TODO: add custom timeout

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the use case for this method?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This for some base64 message, in my case used this to pass some encoded protos to my server

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.

2 participants