Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import std.net.curl;
- class A {
- HTTP http;
- this(HTTP http) {
- this.http = http;
- }
- }
- void main() {
- auto http = HTTP();
- A a = new A(http);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement