win32.winhttp

Windows API header module

Translated from Windows SDK Headers

Members

Aliases

HINTERNET
alias HINTERNET = void*
Undocumented in source.
INTERNET_PORT
alias INTERNET_PORT = WORD
Undocumented in source.
INTERNET_SCHEME
alias INTERNET_SCHEME = int
Undocumented in source.
LPHINTERNET
alias LPHINTERNET = HINTERNET*
Undocumented in source.
LPHTTP_VERSION_INFO
alias LPHTTP_VERSION_INFO = HTTP_VERSION_INFO*
Undocumented in source.
LPINTERNET_PORT
alias LPINTERNET_PORT = INTERNET_PORT*
Undocumented in source.
LPINTERNET_SCHEME
alias LPINTERNET_SCHEME = INTERNET_SCHEME*
Undocumented in source.
LPURL_COMPONENTS
alias LPURL_COMPONENTS = URL_COMPONENTS*
Undocumented in source.
LPURL_COMPONENTSW
alias LPURL_COMPONENTSW = URL_COMPONENTS*
Undocumented in source.
LPWINHTTP_ASYNC_RESULT
alias LPWINHTTP_ASYNC_RESULT = WINHTTP_ASYNC_RESULT*
Undocumented in source.
LPWINHTTP_PROXY_INFO
alias LPWINHTTP_PROXY_INFO = WINHTTP_PROXY_INFO*
Undocumented in source.
LPWINHTTP_PROXY_INFOW
alias LPWINHTTP_PROXY_INFOW = WINHTTP_PROXY_INFO*
Undocumented in source.
LPWINHTTP_STATUS_CALLBACK
alias LPWINHTTP_STATUS_CALLBACK = WINHTTP_STATUS_CALLBACK*
Undocumented in source.
PWINHTTP_CREDS
alias PWINHTTP_CREDS = WINHTTP_CREDS*
Undocumented in source.
PWINHTTP_CREDS_EX
alias PWINHTTP_CREDS_EX = WINHTTP_CREDS_EX*
Undocumented in source.
URL_COMPONENTSW
alias URL_COMPONENTSW = URL_COMPONENTS
Undocumented in source.
WINHTTP_PROXY_INFOW
alias WINHTTP_PROXY_INFOW = WINHTTP_PROXY_INFO
Undocumented in source.
WINHTTP_STATUS_CALLBACK
alias WINHTTP_STATUS_CALLBACK = fnWINHTTP_STATUS_CALLBACK*
Undocumented in source.
fnWINHTTP_STATUS_CALLBACK
alias fnWINHTTP_STATUS_CALLBACK = int
Undocumented in source.

Enums

API_RECEIVE_RESPONSE
anonymousenum API_RECEIVE_RESPONSE
Undocumented in source.
HTTP_STATUS_CONTINUE
anonymousenum HTTP_STATUS_CONTINUE
Undocumented in source.
ICU_ESCAPE
anonymousenum ICU_ESCAPE
Undocumented in source.
ICU_NO_ENCODE
anonymousenum ICU_NO_ENCODE
Undocumented in source.
INTERNET_DEFAULT_PORT
anonymousenum INTERNET_DEFAULT_PORT
Undocumented in source.
INTERNET_SCHEME_HTTP
anonymousenum INTERNET_SCHEME_HTTP
Undocumented in source.
WINHTTP_ACCESS_TYPE_DEFAULT_PROXY
anonymousenum WINHTTP_ACCESS_TYPE_DEFAULT_PROXY
Undocumented in source.
WINHTTP_ADDREQ_INDEX_MASK
anonymousenum WINHTTP_ADDREQ_INDEX_MASK
Undocumented in source.
WINHTTP_AUTOPROXY_AUTO_DETECT
anonymousenum WINHTTP_AUTOPROXY_AUTO_DETECT
Undocumented in source.
WINHTTP_AUTO_DETECT_TYPE_DHCP
anonymousenum WINHTTP_AUTO_DETECT_TYPE_DHCP
Undocumented in source.
WINHTTP_CALLBACK_FLAG_RESOLVE_NAME
anonymousenum WINHTTP_CALLBACK_FLAG_RESOLVE_NAME
Undocumented in source.
WINHTTP_CALLBACK_STATUS_GETPROXYFORURL_COMPLETE
anonymousenum WINHTTP_CALLBACK_STATUS_GETPROXYFORURL_COMPLETE
Undocumented in source.
WINHTTP_CALLBACK_STATUS_RESOLVING_NAME
anonymousenum WINHTTP_CALLBACK_STATUS_RESOLVING_NAME
Undocumented in source.
WINHTTP_DECOMPRESSION_FLAG_GZIP
anonymousenum WINHTTP_DECOMPRESSION_FLAG_GZIP
Undocumented in source.
WINHTTP_ERROR_BASE
anonymousenum WINHTTP_ERROR_BASE
Undocumented in source.
WINHTTP_FIRST_OPTION
anonymousenum WINHTTP_FIRST_OPTION
Undocumented in source.
WINHTTP_FLAG_SECURE
anonymousenum WINHTTP_FLAG_SECURE
Undocumented in source.
WINHTTP_HANDLE_TYPE_SESSION
anonymousenum WINHTTP_HANDLE_TYPE_SESSION
Undocumented in source.
WINHTTP_QUERY_MIME_VERSION
anonymousenum WINHTTP_QUERY_MIME_VERSION
Undocumented in source.
WINHTTP_RESET_STATE
anonymousenum WINHTTP_RESET_STATE
Undocumented in source.
WINHTTP_WEB_SOCKET_BUFFER_TYPE
enum WINHTTP_WEB_SOCKET_BUFFER_TYPE
Undocumented in source.
WINHTTP_WEB_SOCKET_CLOSE_STATUS
enum WINHTTP_WEB_SOCKET_CLOSE_STATUS
Undocumented in source.
WINHTTP_WEB_SOCKET_MAX_CLOSE_REASON_LENGTH
anonymousenum WINHTTP_WEB_SOCKET_MAX_CLOSE_REASON_LENGTH
Undocumented in source.
WINHTTP_WEB_SOCKET_OPERATION
enum WINHTTP_WEB_SOCKET_OPERATION
Undocumented in source.

Functions

WinHttpAddRequestHeaders
BOOL WinHttpAddRequestHeaders(HINTERNET hRequest, LPCWSTR pwszHeaders, DWORD dwHeadersLength, DWORD dwModifiers)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpCheckPlatform
BOOL WinHttpCheckPlatform()
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpCloseHandle
BOOL WinHttpCloseHandle(HINTERNET hInternet)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpConnect
HINTERNET WinHttpConnect(HINTERNET hSession, LPCWSTR pswzServerName, INTERNET_PORT nServerPort, DWORD dwReserved)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpCrackUrl
BOOL WinHttpCrackUrl(LPCWSTR pwszUrl, DWORD dwUrlLength, DWORD dwFlags, LPURL_COMPONENTS lpUrlComponents)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpCreateProxyResolver
DWORD WinHttpCreateProxyResolver(HINTERNET hSession, HINTERNET* phResolver)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpCreateUrl
BOOL WinHttpCreateUrl(LPURL_COMPONENTS lpUrlComponents, DWORD dwFlags, LPWSTR pwszUrl, LPDWORD lpdwUrlLength)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpDetectAutoProxyConfigUrl
BOOL WinHttpDetectAutoProxyConfigUrl(DWORD dwAutoDetectFlags, LPWSTR* ppwszAutoConfigUrl)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpFreeProxyResult
void WinHttpFreeProxyResult(WINHTTP_PROXY_RESULT* pProxyResult)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpGetDefaultProxyConfiguration
BOOL WinHttpGetDefaultProxyConfiguration(WINHTTP_PROXY_INFO* pProxyInfo)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpGetIEProxyConfigForCurrentUser
BOOL WinHttpGetIEProxyConfigForCurrentUser(WINHTTP_CURRENT_USER_IE_PROXY_CONFIG* pProxyConfig)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpGetProxyForUrl
BOOL WinHttpGetProxyForUrl(HINTERNET hSession, LPCWSTR lpcwszUrl, WINHTTP_AUTOPROXY_OPTIONS* pAutoProxyOptions, WINHTTP_PROXY_INFO* pProxyInfo)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpGetProxyForUrlEx
DWORD WinHttpGetProxyForUrlEx(HINTERNET hResolver, PCWSTR pcwszUrl, WINHTTP_AUTOPROXY_OPTIONS* pAutoProxyOptions, DWORD_PTR pContext)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpGetProxyResult
DWORD WinHttpGetProxyResult(HINTERNET hResolver, WINHTTP_PROXY_RESULT* pProxyResult)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpOpen
HINTERNET WinHttpOpen(LPCWSTR pwszUserAgent, DWORD dwAccessType, LPCWSTR pwszProxyName, LPCWSTR pwszProxyBypass, DWORD dwFlags)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpOpenRequest
HINTERNET WinHttpOpenRequest(HINTERNET hConnect, LPCWSTR pwszVerb, LPCWSTR pwszObjectName, LPCWSTR pwszVersion, LPCWSTR pwszReferrer, LPCWSTR* ppwszAcceptTypes, DWORD dwFlags)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpQueryAuthSchemes
BOOL WinHttpQueryAuthSchemes(HINTERNET hRequest, LPDWORD lpdwSupportedSchemes, LPDWORD lpdwFirstScheme, LPDWORD pdwAuthTarget)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpQueryDataAvailable
BOOL WinHttpQueryDataAvailable(HINTERNET hRequest, LPDWORD lpdwNumberOfBytesAvailable)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpQueryHeaders
BOOL WinHttpQueryHeaders(HINTERNET hRequest, DWORD dwInfoLevel, LPCWSTR pwszName, LPVOID lpBuffer, LPDWORD lpdwBufferLength, LPDWORD lpdwIndex)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpQueryOption
BOOL WinHttpQueryOption(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer, LPDWORD lpdwBufferLength)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpReadData
BOOL WinHttpReadData(HINTERNET hRequest, LPVOID lpBuffer, DWORD dwNumberOfBytesToRead, LPDWORD lpdwNumberOfBytesRead)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpReceiveResponse
BOOL WinHttpReceiveResponse(HINTERNET hRequest, LPVOID lpReserved)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpResetAutoProxy
DWORD WinHttpResetAutoProxy(HINTERNET hSession, DWORD dwFlags)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpSendRequest
BOOL WinHttpSendRequest(HINTERNET hRequest, LPCWSTR pwszHeaders, DWORD dwHeadersLength, LPVOID lpOptional, DWORD dwOptionalLength, DWORD dwTotalLength, DWORD_PTR dwContext)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpSetCredentials
BOOL WinHttpSetCredentials(HINTERNET hRequest, DWORD AuthTargets, DWORD AuthScheme, LPCWSTR pwszUserName, LPCWSTR pwszPassword, LPVOID pAuthParams)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpSetDefaultProxyConfiguration
BOOL WinHttpSetDefaultProxyConfiguration(WINHTTP_PROXY_INFO* pProxyInfo)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpSetOption
BOOL WinHttpSetOption(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer, DWORD dwBufferLength)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpSetStatusCallback
WINHTTP_STATUS_CALLBACK WinHttpSetStatusCallback(HINTERNET hInternet, WINHTTP_STATUS_CALLBACK lpfnInternetCallback, DWORD dwNotificationFlags, DWORD_PTR dwReserved)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpSetTimeouts
BOOL WinHttpSetTimeouts(HINTERNET hInternet, int dwResolveTimeout, int dwConnectTimeout, int dwSendTimeout, int dwReceiveTimeout)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpTimeFromSystemTime
BOOL WinHttpTimeFromSystemTime(SYSTEMTIME* pst, LPWSTR pwszTime)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpTimeToSystemTime
BOOL WinHttpTimeToSystemTime(LPCWSTR pwszTime, SYSTEMTIME* pst)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpWebSocketClose
DWORD WinHttpWebSocketClose(HINTERNET hWebSocket, USHORT usStatus, PVOID pvReason, DWORD dwReasonLength)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpWebSocketCompleteUpgrade
HINTERNET WinHttpWebSocketCompleteUpgrade(HINTERNET hRequest, DWORD_PTR pContext)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpWebSocketQueryCloseStatus
DWORD WinHttpWebSocketQueryCloseStatus(HINTERNET hWebSocket, USHORT* pusStatus, PVOID pvReason, DWORD dwReasonLength, DWORD* pdwReasonLengthConsumed)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpWebSocketReceive
DWORD WinHttpWebSocketReceive(HINTERNET hWebSocket, PVOID pvBuffer, DWORD dwBufferLength, DWORD* pdwBytesRead, WINHTTP_WEB_SOCKET_BUFFER_TYPE* peBufferType)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpWebSocketSend
DWORD WinHttpWebSocketSend(HINTERNET hWebSocket, WINHTTP_WEB_SOCKET_BUFFER_TYPE eBufferType, PVOID pvBuffer, DWORD dwBufferLength)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpWebSocketShutdown
DWORD WinHttpWebSocketShutdown(HINTERNET hWebSocket, USHORT usStatus, PVOID pvReason, DWORD dwReasonLength)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
WinHttpWriteData
BOOL WinHttpWriteData(HINTERNET hRequest, LPCVOID lpBuffer, DWORD dwNumberOfBytesToWrite, LPDWORD lpdwNumberOfBytesWritten)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.

Manifest constants

WINHTTP_INVALID_STATUS_CALLBACK
enum WINHTTP_INVALID_STATUS_CALLBACK;
Undocumented in source.

Structs

HTTP_VERSION_INFO
struct HTTP_VERSION_INFO
Undocumented in source.
URL_COMPONENTS
struct URL_COMPONENTS
Undocumented in source.
WINHTTP_ASYNC_RESULT
struct WINHTTP_ASYNC_RESULT
Undocumented in source.
WINHTTP_AUTOPROXY_OPTIONS
struct WINHTTP_AUTOPROXY_OPTIONS
Undocumented in source.
WINHTTP_CERTIFICATE_INFO
struct WINHTTP_CERTIFICATE_INFO
Undocumented in source.
WINHTTP_CONNECTION_INFO
struct WINHTTP_CONNECTION_INFO
Undocumented in source.
WINHTTP_CREDS
struct WINHTTP_CREDS
Undocumented in source.
WINHTTP_CREDS_EX
struct WINHTTP_CREDS_EX
Undocumented in source.
WINHTTP_CURRENT_USER_IE_PROXY_CONFIG
struct WINHTTP_CURRENT_USER_IE_PROXY_CONFIG
Undocumented in source.
WINHTTP_PROXY_INFO
struct WINHTTP_PROXY_INFO
Undocumented in source.
WINHTTP_PROXY_RESULT
struct WINHTTP_PROXY_RESULT
Undocumented in source.
WINHTTP_PROXY_RESULT_ENTRY
struct WINHTTP_PROXY_RESULT_ENTRY
Undocumented in source.
WINHTTP_WEB_SOCKET_ASYNC_RESULT
struct WINHTTP_WEB_SOCKET_ASYNC_RESULT
Undocumented in source.
WINHTTP_WEB_SOCKET_STATUS
struct WINHTTP_WEB_SOCKET_STATUS
Undocumented in source.

Variables

WINHTTP_CALLBACK_FLAG_ALL_COMPLETIONS
enum DWORD WINHTTP_CALLBACK_FLAG_ALL_COMPLETIONS;
Undocumented in source.
WINHTTP_CALLBACK_FLAG_ALL_COMPLETIONS
enum DWORD WINHTTP_CALLBACK_FLAG_ALL_COMPLETIONS;
Undocumented in source.
WINHTTP_CALLBACK_FLAG_ALL_NOTIFICATIONS
enum DWORD WINHTTP_CALLBACK_FLAG_ALL_NOTIFICATIONS;
Undocumented in source.
WINHTTP_CALLBACK_FLAG_GETPROXYFORURL_COMPLETE
enum DWORD WINHTTP_CALLBACK_FLAG_GETPROXYFORURL_COMPLETE;
Undocumented in source.
WINHTTP_DEFAULT_ACCEPT_TYPES
enum LPCWSTR* WINHTTP_DEFAULT_ACCEPT_TYPES;
Undocumented in source.
WINHTTP_FLAG_ASYNC
enum DWORD WINHTTP_FLAG_ASYNC;
Undocumented in source.
WINHTTP_HEADER_NAME_BY_INDEX
enum LPCWSTR WINHTTP_HEADER_NAME_BY_INDEX;
Undocumented in source.
WINHTTP_LAST_OPTION
enum DWORD WINHTTP_LAST_OPTION;
Undocumented in source.
WINHTTP_LAST_OPTION
enum DWORD WINHTTP_LAST_OPTION;
Undocumented in source.
WINHTTP_NO_ADDITIONAL_HEADERS
enum LPCWSTR WINHTTP_NO_ADDITIONAL_HEADERS;
Undocumented in source.
WINHTTP_NO_CLIENT_CERT_CONTEXT
enum LPVOID WINHTTP_NO_CLIENT_CERT_CONTEXT;
Undocumented in source.
WINHTTP_NO_HEADER_INDEX
enum LPDWORD WINHTTP_NO_HEADER_INDEX;
Undocumented in source.
WINHTTP_NO_OUTPUT_BUFFER
enum LPVOID WINHTTP_NO_OUTPUT_BUFFER;
Undocumented in source.
WINHTTP_NO_PROXY_BYPASS
enum LPCWSTR WINHTTP_NO_PROXY_BYPASS;
Undocumented in source.
WINHTTP_NO_PROXY_NAME
enum LPCWSTR WINHTTP_NO_PROXY_NAME;
Undocumented in source.
WINHTTP_NO_REFERER
enum LPCWSTR WINHTTP_NO_REFERER;
Undocumented in source.
WINHTTP_NO_REQUEST_DATA
enum LPVOID WINHTTP_NO_REQUEST_DATA;
Undocumented in source.
WINHTTP_TIME_FORMAT_BUFSIZE
enum DWORD WINHTTP_TIME_FORMAT_BUFSIZE;
Undocumented in source.

Meta

Source

See Source File
core/sys/windows/winhttp.d Automatically imported and edited from the druntime module core.sys.windows.winhttp for the auto-generated win32 package.