Vanara.PInvoke.HttpApi 4.0.4

Prefix Reserved
dotnet add package Vanara.PInvoke.HttpApi --version 4.0.4                
NuGet\Install-Package Vanara.PInvoke.HttpApi -Version 4.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vanara.PInvoke.HttpApi" Version="4.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.HttpApi --version 4.0.4                
#r "nuget: Vanara.PInvoke.HttpApi, 4.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanara.PInvoke.HttpApi as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.HttpApi&version=4.0.4

// Install Vanara.PInvoke.HttpApi as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.HttpApi&version=4.0.4                

Vanara

Vanara.PInvoke.HttpApi NuGet Package

Version Build status

PInvoke API (methods, structures and constants) imported from Windows HttpApi.dll for HTTP Server API Version 2.0.

What is Vanara?

Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.

Issues?

First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.

Included in Vanara.PInvoke.HttpApi

Functions Enumerations Structures
HttpAddFragmentToCache HttpAddUrl HttpAddUrlToUrlGroup HttpCancelHttpRequest HttpCloseRequestQueue HttpCloseServerSession HttpCloseUrlGroup HttpCreateHttpHandle HttpCreateRequestQueue HttpCreateServerSession HttpCreateUrlGroup HttpDeclarePush HttpDelegateRequestEx HttpDeleteServiceConfiguration HttpFindUrlGroupId HttpFlushResponseCache HttpInitialize HttpIsFeatureSupported HttpPrepareUrl HttpQueryRequestQueueProperty HttpQueryServerSessionProperty HttpQueryServiceConfiguration HttpQueryUrlGroupProperty HttpReadFragmentFromCache HttpReceiveClientCertificate HttpReceiveHttpRequest HttpReceiveRequestEntityBody HttpRemoveUrl HttpRemoveUrlFromUrlGroup HttpSendHttpResponse HttpSendResponseEntityBody HttpSetRequestProperty HttpSetRequestQueueProperty HttpSetServerSessionProperty HttpSetServiceConfiguration HttpSetUrlGroupProperty HttpShutdownRequestQueue HttpTerminate HttpUpdateServiceConfiguration HttpWaitForDemandStart HttpWaitForDisconnect HttpWaitForDisconnectEx HTTP_503_RESPONSE_VERBOSITY HTTP_AUTH_ENABLE HTTP_AUTH_EX_FLAG HTTP_AUTH_STATUS HTTP_AUTHENTICATION_HARDENING_LEVELS HTTP_CACHE_POLICY_TYPE HTTP_CHANNEL_BIND HTTP_CREATE_REQUEST_QUEUE_FLAG HTTP_CREATE_REQUEST_QUEUE_PROPERTY_ID HTTP_DATA_CHUNK_TYPE HTTP_DELEGATE_REQUEST_PROPERTY_ID HTTP_ENABLED_STATE HTTP_FEATURE_ID HTTP_FLUSH_RESPONSE_FLAG HTTP_HEADER_ID HTTP_INIT HTTP_LOG_DATA_TYPE HTTP_LOG_FIELD HTTP_LOGGING_FLAG HTTP_LOGGING_ROLLOVER_TYPE HTTP_LOGGING_TYPE HTTP_PERFORMANCE_PARAM_TYPE HTTP_PROTECTION_LEVEL_TYPE HTTP_QOS_SETTING_TYPE HTTP_RECEIVE HTTP_RECEIVE_REQUEST_ENTITY_BODY_FLAG HTTP_RECEIVE_REQUEST_FLAG HTTP_REQUEST_AUTH_FLAG HTTP_REQUEST_AUTH_TYPE HTTP_REQUEST_FLAG HTTP_REQUEST_INFO_TYPE HTTP_REQUEST_PROPERTY HTTP_REQUEST_PROPERTY_SNI_FLAG HTTP_REQUEST_SIZING_INFO_FLAG HTTP_REQUEST_SIZING_TYPE HTTP_REQUEST_TIMING_TYPE HTTP_RESPONSE_FLAGS HTTP_RESPONSE_INFO_FLAGS HTTP_RESPONSE_INFO_TYPE HTTP_SEND_RESPONSE_FLAG HTTP_SERVER_PROPERTY HTTP_SERVICE_BINDING_TYPE HTTP_SERVICE_CONFIG_CACHE_KEY HTTP_SERVICE_CONFIG_ID HTTP_SERVICE_CONFIG_QUERY_TYPE HTTP_SERVICE_CONFIG_SETTING_KEY HTTP_SERVICE_CONFIG_SSL_FLAG HTTP_SERVICE_CONFIG_TIMEOUT_KEY HTTP_SSL_SERVICE_CONFIG_EX_PARAM_TYPE HTTP_URI_SCHEME HTTP_URL_FLAG HTTP_VERB HREQQUEUE HREQQUEUEv1 SafeHTTP_SERVER_SESSION_ID SafeHTTP_URL_GROUP_ID HTTP_BANDWIDTH_LIMIT_INFO HTTP_BINDING_INFO HTTP_BYTE_RANGE HTTP_CACHE_POLICY HTTP_CHANNEL_BIND_INFO HTTP_CONNECTION_LIMIT_INFO HTTP_COOKED_URL HTTP_CREATE_REQUEST_QUEUE_PROPERTY_INFO HTTP_DATA_CHUNK HTTP_DELEGATE_REQUEST_PROPERTY_INFO HTTP_ERROR_HEADERS_PARAM HTTP_FLOWRATE_INFO HTTP_KNOWN_HEADER HTTP_LISTEN_ENDPOINT_INFO HTTP_LOG_DATA HTTP_LOG_FIELDS_DATA HTTP_LOGGING_INFO HTTP_MULTIPLE_KNOWN_HEADERS HTTP_PERFORMANCE_PARAM HTTP_PROPERTY_FLAGS HTTP_PROTECTION_LEVEL_INFO HTTP_QOS_SETTING_INFO HTTP_QUERY_REQUEST_QUALIFIER_QUIC HTTP_QUERY_REQUEST_QUALIFIER_TCP HTTP_QUIC_API_TIMINGS HTTP_QUIC_CONNECTION_API_TIMINGS HTTP_QUIC_STREAM_API_TIMINGS HTTP_REQUEST_AUTH_INFO HTTP_REQUEST_CHANNEL_BIND_STATUS HTTP_REQUEST_HEADERS HTTP_REQUEST_INFO HTTP_REQUEST_PROPERTY_SNI HTTP_REQUEST_PROPERTY_STREAM_ERROR HTTP_REQUEST_SIZING_INFO HTTP_REQUEST_TIMING_INFO HTTP_REQUEST_TOKEN_BINDING_INFO HTTP_REQUEST_V1 HTTP_REQUEST_V2 HTTP_RESPONSE_HEADERS HTTP_RESPONSE_INFO HTTP_RESPONSE_V1 HTTP_RESPONSE_V2 HTTP_SERVER_AUTHENTICATION_BASIC_PARAMS HTTP_SERVER_AUTHENTICATION_DIGEST_PARAMS HTTP_SERVER_AUTHENTICATION_INFO HTTP_SERVICE_BINDING_A HTTP_SERVICE_BINDING_BASE HTTP_SERVICE_BINDING_W HTTP_SERVICE_CONFIG_CACHE_SET HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY HTTP_SERVICE_CONFIG_SETTING_SET HTTP_SERVICE_CONFIG_SSL_CCS_KEY HTTP_SERVICE_CONFIG_SSL_CCS_QUERY HTTP_SERVICE_CONFIG_SSL_CCS_QUERY_EX HTTP_SERVICE_CONFIG_SSL_CCS_SET HTTP_SERVICE_CONFIG_SSL_CCS_SET_EX HTTP_SERVICE_CONFIG_SSL_KEY HTTP_SERVICE_CONFIG_SSL_KEY_EX HTTP_SERVICE_CONFIG_SSL_PARAM HTTP_SERVICE_CONFIG_SSL_PARAM_EX HTTP_SERVICE_CONFIG_SSL_QUERY HTTP_SERVICE_CONFIG_SSL_QUERY_EX HTTP_SERVICE_CONFIG_SSL_SET HTTP_SERVICE_CONFIG_SSL_SET_EX HTTP_SERVICE_CONFIG_SSL_SNI_KEY HTTP_SERVICE_CONFIG_SSL_SNI_QUERY HTTP_SERVICE_CONFIG_SSL_SNI_QUERY_EX HTTP_SERVICE_CONFIG_SSL_SNI_SET HTTP_SERVICE_CONFIG_SSL_SNI_SET_EX HTTP_SERVICE_CONFIG_TIMEOUT_SET HTTP_SERVICE_CONFIG_URLACL_KEY HTTP_SERVICE_CONFIG_URLACL_PARAM HTTP_SERVICE_CONFIG_URLACL_QUERY HTTP_SERVICE_CONFIG_URLACL_SET HTTP_SSL_CLIENT_CERT_INFO HTTP_SSL_INFO HTTP_SSL_PROTOCOL_INFO HTTP_STATE_INFO HTTP_TIMEOUT_LIMIT_INFO HTTP_TLS_RESTRICTIONS_PARAM HTTP_TLS_SESSION_TICKET_KEYS_PARAM HTTP_TRANSPORT_ADDRESS HTTP_UNKNOWN_HEADER HTTP_VERSION HTTP_WSK_API_TIMINGS HTTP2_SETTINGS_LIMITS_PARAM HTTP2_WINDOW_SIZE_PARAM HTTPAPI_VERSION FROMMEMORY FROMFILEHANDLE FROMFRAGMENTCACHE FROMFRAGMENTCACHEEX TRAILERS UNION
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Vanara.PInvoke.HttpApi:

Package Downloads
Vanara.Library

The full set of packages associated with the Vanara PInvoke Libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.4 360 9/13/2024
4.0.3 191 8/5/2024
4.0.2 225 6/24/2024
4.0.1 356 4/30/2024
4.0.0 117 3/29/2024
4.0.0-beta2 174 1/22/2024
4.0.0-beta 144 11/20/2023
3.4.17 740 10/18/2023
3.4.16 476 8/7/2023
3.4.15 314 5/18/2023
3.4.14 311 4/15/2023
3.4.13 594 2/4/2023
3.4.12 504 1/15/2023
3.4.11 586 11/15/2022
3.4.10 676 10/25/2022
3.4.9 694 10/3/2022
3.4.8 753 9/16/2022
3.4.7 742 9/3/2022
3.4.6 781 8/7/2022

Currently implements:

Functions
HttpAddFragmentToCache HttpAddUrl HttpAddUrlToUrlGroup HttpCancelHttpRequest HttpCloseRequestQueue HttpCloseServerSession HttpCloseUrlGroup HttpCreateHttpHandle HttpCreateRequestQueue HttpCreateServerSession HttpCreateUrlGroup HttpDeclarePush HttpDelegateRequestEx HttpDeleteServiceConfiguration HttpFindUrlGroupId HttpFlushResponseCache HttpInitialize HttpIsFeatureSupported HttpPrepareUrl HttpQueryRequestQueueProperty HttpQueryServerSessionProperty HttpQueryServiceConfiguration HttpQueryUrlGroupProperty HttpReadFragmentFromCache HttpReceiveClientCertificate HttpReceiveHttpRequest HttpReceiveRequestEntityBody HttpRemoveUrl HttpRemoveUrlFromUrlGroup HttpSendHttpResponse HttpSendResponseEntityBody HttpSetRequestProperty HttpSetRequestQueueProperty HttpSetServerSessionProperty HttpSetServiceConfiguration HttpSetUrlGroupProperty HttpShutdownRequestQueue HttpTerminate HttpUpdateServiceConfiguration HttpWaitForDemandStart HttpWaitForDisconnect HttpWaitForDisconnectEx

Structures
FROMFILEHANDLE FROMFRAGMENTCACHE FROMFRAGMENTCACHEEX FROMMEMORY HREQQUEUE HREQQUEUEv1 HTTP2_SETTINGS_LIMITS_PARAM HTTP2_WINDOW_SIZE_PARAM HTTPAPI_VERSION HTTP_BANDWIDTH_LIMIT_INFO HTTP_BINDING_INFO HTTP_BYTE_RANGE HTTP_CACHE_POLICY HTTP_CHANNEL_BIND_INFO HTTP_CONNECTION_LIMIT_INFO HTTP_COOKED_URL HTTP_CREATE_REQUEST_QUEUE_PROPERTY_INFO HTTP_DATA_CHUNK HTTP_DELEGATE_REQUEST_PROPERTY_INFO HTTP_ERROR_HEADERS_PARAM HTTP_FLOWRATE_INFO HTTP_KNOWN_HEADER HTTP_LISTEN_ENDPOINT_INFO HTTP_LOGGING_INFO HTTP_LOG_DATA HTTP_LOG_FIELDS_DATA HTTP_MULTIPLE_KNOWN_HEADERS HTTP_PERFORMANCE_PARAM HTTP_PROPERTY_FLAGS HTTP_PROTECTION_LEVEL_INFO HTTP_QOS_SETTING_INFO HTTP_QUERY_REQUEST_QUALIFIER_QUIC HTTP_QUERY_REQUEST_QUALIFIER_TCP HTTP_QUIC_API_TIMINGS HTTP_QUIC_CONNECTION_API_TIMINGS HTTP_QUIC_STREAM_API_TIMINGS HTTP_REQUEST_AUTH_INFO HTTP_REQUEST_CHANNEL_BIND_STATUS HTTP_REQUEST_HEADERS HTTP_REQUEST_INFO HTTP_REQUEST_PROPERTY_SNI HTTP_REQUEST_PROPERTY_STREAM_ERROR HTTP_REQUEST_SIZING_INFO HTTP_REQUEST_TIMING_INFO HTTP_REQUEST_TOKEN_BINDING_INFO HTTP_REQUEST_V1 HTTP_REQUEST_V2 HTTP_RESPONSE_HEADERS HTTP_RESPONSE_INFO HTTP_RESPONSE_V1 HTTP_RESPONSE_V2 HTTP_SERVER_AUTHENTICATION_BASIC_PARAMS HTTP_SERVER_AUTHENTICATION_DIGEST_PARAMS HTTP_SERVER_AUTHENTICATION_INFO HTTP_SERVICE_BINDING_A HTTP_SERVICE_BINDING_BASE HTTP_SERVICE_BINDING_W HTTP_SERVICE_CONFIG_CACHE_SET HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM HTTP_SERVICE_CONFIG_IP_LISTEN_QUERY HTTP_SERVICE_CONFIG_SETTING_SET HTTP_SERVICE_CONFIG_SSL_CCS_KEY HTTP_SERVICE_CONFIG_SSL_CCS_QUERY HTTP_SERVICE_CONFIG_SSL_CCS_QUERY_EX HTTP_SERVICE_CONFIG_SSL_CCS_SET HTTP_SERVICE_CONFIG_SSL_CCS_SET_EX HTTP_SERVICE_CONFIG_SSL_KEY HTTP_SERVICE_CONFIG_SSL_KEY_EX HTTP_SERVICE_CONFIG_SSL_PARAM HTTP_SERVICE_CONFIG_SSL_PARAM_EX HTTP_SERVICE_CONFIG_SSL_QUERY HTTP_SERVICE_CONFIG_SSL_QUERY_EX HTTP_SERVICE_CONFIG_SSL_SET HTTP_SERVICE_CONFIG_SSL_SET_EX HTTP_SERVICE_CONFIG_SSL_SNI_KEY HTTP_SERVICE_CONFIG_SSL_SNI_QUERY HTTP_SERVICE_CONFIG_SSL_SNI_QUERY_EX HTTP_SERVICE_CONFIG_SSL_SNI_SET HTTP_SERVICE_CONFIG_SSL_SNI_SET_EX HTTP_SERVICE_CONFIG_TIMEOUT_SET HTTP_SERVICE_CONFIG_URLACL_KEY HTTP_SERVICE_CONFIG_URLACL_PARAM HTTP_SERVICE_CONFIG_URLACL_QUERY HTTP_SERVICE_CONFIG_URLACL_SET HTTP_SSL_CLIENT_CERT_INFO HTTP_SSL_INFO HTTP_SSL_PROTOCOL_INFO HTTP_STATE_INFO HTTP_TIMEOUT_LIMIT_INFO HTTP_TLS_RESTRICTIONS_PARAM HTTP_TLS_SESSION_TICKET_KEYS_PARAM HTTP_TRANSPORT_ADDRESS HTTP_UNKNOWN_HEADER HTTP_VERSION HTTP_WSK_API_TIMINGS SafeHTTP_SERVER_SESSION_ID SafeHTTP_URL_GROUP_ID TRAILERS UNION