Skip to content

Instantly share code, notes, and snippets.

@atimin
Created September 20, 2020 19:40
Show Gist options
  • Save atimin/e25fe29822a47e7a2d875aad2712651a to your computer and use it in GitHub Desktop.
Save atimin/e25fe29822a47e7a2d875aad2712651a to your computer and use it in GitHub Desktop.
class HttpClient {
public:
HttpClient() { /* init only fields or allocate memory, threads etc */ }
[[ nodiscard ]] ErrorCode Connect() {
// Connect to server
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment