Skip to content

Instantly share code, notes, and snippets.

View odyright's full-sized avatar
🏠
Working from home

Daniel odyright

🏠
Working from home
View GitHub Profile
unit WinHttpWS;
interface
uses Windows;
const
// flags for WinHttpOpen
WINHTTP_FLAG_ASYNC = $10000000; // this session is asynchronous (where supported)
WINHTTP_FLAG_SECURE_DEFAULTS = $30000000; // note that this flag also forces async