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

Rewrite 'with-curl-easy' macro #8

Open
fraya opened this issue Mar 4, 2025 · 0 comments
Open

Rewrite 'with-curl-easy' macro #8

fraya opened this issue Mar 4, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@fraya
Copy link
Owner

fraya commented Mar 4, 2025

Right now only binds a name and creates an object from class <curl-easy>. It should be a variable and be assigned to an expression, like with-open-file macro. This way is possible to subclass <curl-easy> or use a function that initializes a <curl-easy> request.

{ with-curl-easy (?curl:name) ?body:body end }

@fraya fraya added the bug Something isn't working label Mar 4, 2025
@fraya fraya self-assigned this Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant