{"id":966,"date":"2017-04-30T17:42:16","date_gmt":"2017-04-30T08:42:16","guid":{"rendered":"http:\/\/dev.activebasic.com\/egtra\/?p=966"},"modified":"2018-02-04T00:24:47","modified_gmt":"2018-02-03T15:24:47","slug":"winhttp%e3%81%8chttp2%e3%81%ab%e5%af%be%e5%bf%9c%e3%81%97%e3%81%9f-windows-10-1607","status":"publish","type":"post","link":"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/","title":{"rendered":"WinHTTP\u304cHTTP\/2\u306b\u5bfe\u5fdc\u3057\u305f (Windows 10 1607)"},"content":{"rendered":"<p>WinHTTP\u306bHTTP\/2\u306e\u5bfe\u5fdc\u304c\u5165\u3063\u305f\u3088\u3046\u3067\u3059\u3002\u305d\u3053\u3067\u3001\u7c21\u5358\u306b\u3067\u3059\u304c\u78ba\u304b\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>WinHTTP\u306f\u3001Windows\u306e\u6c4e\u7528\u7684\u306aHTTP\u3068WebSocket\u306eAPI\u3067\u3059\u3002\u305d\u3093\u306a\u308f\u3051\u3067\u3001\u81ea\u8eab\u3067\u3068\u304d\u3069\u304d\u4f7f\u3063\u305f\u308a\u3001\u4f7f\u3063\u3066\u3044\u308b\u30a2\u30d7\u30ea\u3092\u305f\u307e\u306b\u898b\u304b\u3051\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<section>\n<h3>\u30d5\u30e9\u30b0\u3092MSDN\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u898b\u3064\u3051\u305f<\/h3>\n<p>\u3053\u306e\u524d\u3001<a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/aa384114(v=vs.85).aspx\">WinHttpSetOption<\/a>\u95a2\u6570\u3067\u6307\u5b9a\u3059\u308b<a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/aa384066(v=vs.85).aspx#WINHTTP_OPTION_ENABLE_HTTP_PROTOCOL\">Option Flags<\/a>\u3092\u898b\u3066\u3044\u305f\u3068\u3053\u308d\u3001WINHTTP_PROTOCOL_FLAG_HTTP2\u3068\u3044\u3046\u3082\u306e\u304c\u5897\u3048\u3066\u3044\u308b\u3053\u3068\u306b\u6c17\u4ed8\u304d\u307e\u3057\u305f\u3002<\/p>\n<blockquote>\n<dt><strong>WINHTTP_OPTION_ENABLE_HTTP_PROTOCOL<\/strong><\/dt>\n<dd>\n<p>Sets a DWORD bitmask of acceptable advanced HTTP versions. Supported on Windows&nbsp;10, version 1607 and newer. Possible values are:<\/p>\n<ul>\n<li>WINHTTP_PROTOCOL_FLAG_HTTP2 (0x1). Supported on Windows&nbsp;10, version 1607 and newer<\/li>\n<\/ul>\n<p>Legacy versions of HTTP (1.1 and prior) cannot be disabled using this option. The default is 0x0.<\/p>\n<\/dd>\n<\/blockquote>\n<p>WINHTTP_PROTOCOL_FLAG_HTTP2\u306e\u610f\u5473\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u3069\u3046\u8003\u3048\u3066\u3082HTTP\/2\u3092\u4f7f\u3046\u3068\u3044\u3046\u30d5\u30e9\u30b0\u306b\u9055\u3044\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>\u4f7f\u3063\u3066\u307f\u308b<\/h3>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3055\u3063\u305d\u304f\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre lang=\"cpp\">\r\n#include <iostream>\r\n#include <memory>\r\n#include <string>\r\n#include <cstdlib>\r\n#include <windows.h>\r\n#include <winhttp.h>\r\n\r\nstruct winhttp_deleter\r\n{\r\n  using pointer = HINTERNET;\r\n  void operator()(_In_ HINTERNET h) const noexcept\r\n  {\r\n    WinHttpCloseHandle(h);\r\n  }\r\n};\r\n\r\nusing unique_hinternet = std::unique_ptr<HINTERNET, winhttp_deleter>;\r\n\r\nint main()\r\n{\r\n  unique_hinternet session(WinHttpOpen(\r\n    nullptr,\r\n    WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY,\r\n    nullptr,\r\n    nullptr,\r\n    0));\r\n  if (session == nullptr)\r\n  {\r\n    std::quick_exit(1);\r\n  }\r\n  \/\/ \uff5e\uff5e \u3053\u3053\u304b\u3089 \uff5e\uff5e\r\n  DWORD protocolOption = WINHTTP_PROTOCOL_FLAG_HTTP2;\r\n  if (!WinHttpSetOption(\r\n    session.get(),\r\n    WINHTTP_OPTION_ENABLE_HTTP_PROTOCOL,\r\n    &protocolOption,\r\n    sizeof protocolOption))\r\n  {\r\n    std::wclog << \"HTTP\/2 is not supported.\" << std::endl;\r\n  }\r\n  \/\/ \uff5e\uff5e \u3053\u3053\u307e\u3067 \uff5e\uff5e\r\n  unique_hinternet connect(WinHttpConnect(\r\n    session.get(),\r\n    L\"www.yahoo.co.jp\",\r\n    INTERNET_DEFAULT_PORT,\r\n    0));\r\n  if (connect == nullptr)\r\n  {\r\n    std::quick_exit(1);\r\n  }\r\n  unique_hinternet request(WinHttpOpenRequest(\r\n    connect.get(),\r\n    L\"HEAD\",\r\n    L\"\/\",\r\n    nullptr,\r\n    WINHTTP_NO_REFERER,\r\n    WINHTTP_DEFAULT_ACCEPT_TYPES,\r\n    WINHTTP_FLAG_SECURE));\r\n  if (connect == nullptr)\r\n  {\r\n    std::quick_exit(1);\r\n  }\r\n  if (!WinHttpSendRequest(\r\n    request.get(),\r\n    WINHTTP_NO_ADDITIONAL_HEADERS,\r\n    0,\r\n    WINHTTP_NO_REQUEST_DATA,\r\n    0,\r\n    0,\r\n    0))\r\n  {\r\n    std::quick_exit(1);\r\n  }\r\n  if (!WinHttpReceiveResponse(request.get(), nullptr))\r\n  {\r\n    std::quick_exit(1);\r\n  }\r\n\r\n  WCHAR buffer[256];\r\n  DWORD size = sizeof buffer;\r\n  if (WinHttpQueryHeaders(\r\n    request.get(),\r\n    WINHTTP_QUERY_VERSION,\r\n    WINHTTP_HEADER_NAME_BY_INDEX,\r\n    buffer,\r\n    &#038;size,\r\n    WINHTTP_NO_HEADER_INDEX))\r\n  {\r\n    std::wcout << buffer << std::endl;\r\n  }\r\n  std::quick_exit(0);\r\n}\r\n<\/pre>\n<h3>HTTP\/2\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u304b\u3081\u308b\uff08\u305d\u306e1\uff09<\/h3>\n<p>\u3055\u3066\u3001\u3069\u3046\u3084\u3063\u3066HTTP\/2\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3088\u3046\uff1f\u3068\u5c11\u3057\u60a9\u307f\u307e\u3057\u305f\u3002\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3067HTTP\/2\u3092\u4f7f\u3046\u3068\u306a\u308c\u3070\u3001TLS (HTTPS)\u4f75\u7528\u304c\u4e8b\u5b9f\u4e0a\u5fc5\u9808\u3067\u3059\u3002TLS\u3067\u6697\u53f7\u5316\u3055\u308c\u3066\u3044\u3066\u306f\u3001\u5185\u5bb9\u306e\u78ba\u8a8d\u306f\u96e3\u3057\u3044\u3067\u3059\u3002<\/p>\n<p>\u8003\u3048\u305f\u7d50\u679c\u300cWireshark\u3067TLS\u306e\u69d8\u5b50\u3092\u898b\u3066\u3001ALPN\u3067h2\u304c\u5165\u3063\u3066\u3044\u305f\u3089\u826f\u3057\u300d\u3068\u3044\u3046\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u304c\u305d\u306e\u7d50\u679c\u3067\u3059\u3002<\/p>\n<ul>\n<li>\n\u307e\u305a\u3001ClientHello\u306bALPN\u306eh2\u3068http\/1.1\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-request.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-request.png\" alt=\"WinHTTP\u306b\u3088\u308bTLS\u306eCLIENT HELLO\u3002ALPN\u3067h2\u3068http\/1.1\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u3002\" width=\"400\" height=\"260\" class=\"aligncenter size-full wp-image-967\" \/><\/a>\n<\/li>\n<li>\n\u305d\u3057\u3066\u3001Server Hello\u306bALPN\u3067h2\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-response.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-response.png\" alt=\"\u5148\u306e\u901a\u4fe1\u306b\u5bfe\u3059\u308bSERVER HELLO\u3002ALPN\u3067h2\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u3002\" width=\"400\" height=\"260\" class=\"aligncenter size-full wp-image-968\" \/><\/a>\n<\/li>\n<\/ul>\n<p>\u826f\u3055\u305d\u3046\u3067\u3059\u306d\u3002h2\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001HTTP\/2\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>HTTP\/2\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u304b\u3081\u308b\uff08\u305d\u306e2\uff09<\/h3>\n<p>\u3088\u304f\u3088\u304f\u8003\u3048\u305f\u3089\u79c1\u306fwww.activebasic.com\u306e\u30a2\u30af\u30bb\u30b9\u3092\u898b\u3089\u308c\u307e\u3059\u3002\u3068\u3044\u3046\u308f\u3051\u3067\u3001www.activebasic.com\u306b\u30a2\u30af\u30bb\u30b9\u3055\u305b\u3066\u3001\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u3067HTTP\/2\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3053\u3068\u306b\u6c17\u4ed8\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u5206\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001User Agent\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre lang=\"diff\">\r\n--- a\/http.cpp\r\n+++ b\/http.cpp\r\n@@ -21,3 +21,3 @@\r\n   unique_hinternet session(WinHttpOpen(\r\n-    nullptr,\r\n+    L\"WinHTTP-Test-App\/0.0\",\r\n     WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY,\r\n@@ -43,3 +43,3 @@\r\n     session.get(),\r\n-    L\"www.yahoo.co.jp\",\r\n+    L\"www.activebasic.com\",\r\n     INTERNET_DEFAULT_PORT,\r\n<\/pre>\n<p>\u5b9f\u969b\u306e\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u306e\u8a72\u5f53\u884c\u306f\u3053\u3093\u306a\u3067\u3059\u3002LTSV\u3067\u3059\u3002protocol:HTTP\/2.0\u304b\u3064agent:WinHTTP-Test-App\/0.0\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>\r\ndomain:www.activebasic.com      host:153.203.0.68       server:160.16.87.113    user:-       time:30\/Apr\/2017:01:09:27 +0900 method:HEAD     path:\/index.html        protocol:HTTP\/2.0    status:200      size:7312       referer:-       agent:WinHTTP-Test-App\/0.0   response_time:1207      cookie:-        set_cookie:-\r\n<\/pre>\n<h3>WinHTTP\u304c\u5831\u544a\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306f1.1<\/h3>\n<p>\u4e0a\u8a18\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306fWINHTTP_QUERY_VERSION\u3092\u4f7f\u3063\u3066\u3001\u901a\u4fe1\u306b\u4f7f\u3063\u305fHTTP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u53d6\u5f97\u3057\u3001\u305d\u308c\u3092wcout\u306b\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u51fa\u529b\u306f\u3001\u4e0a\u8a182\u3064\u306e\u78ba\u8a8d\u6642\u3001\u3044\u305a\u308c\u3082\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\nHTTP\/1.1\r\n<\/pre>\n<p>\u3073\u3063\u304f\u308a\u3067\u3059\u3002\u5b9f\u969b\u306b\u306f\u3001HTTP\/2\u3067\u901a\u4fe1\u3057\u3066\u3044\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001WINHTTP_QUERY_VERSION\u3067\u306f\u3001HTTP\/1.1\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u8fd4\u3057\u3066\u304d\u307e\u3057\u305f\u3002\u306a\u304a\u3001WINHTTP_QUERY_RAW_HEADERS_CRLF\u3067\u3082\u540c\u69d8\u306bHTTP\/1.1\u3068\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<\/section>\n<hr>\n<p>\u4ee5\u4e0a\u3001Windows 10 1607\u3067\u3001WinHTTP\u306bHTTP\/2\u3078\u306e\u5bfe\u5fdc\u304c\u5165\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u898b\u3064\u3051\u305f\u8a71\u3067\u3057\u305f\u3002<\/p>\n<p>\u306a\u304a\u3001\u305a\u3063\u3068\u524d\u304b\u3089\u95a2\u6570WinHttpSetOption\u7528\u306e\u5b9a\u6570WINHTTP_OPTION_HTTP_VERSION\u3068\u69cb\u9020\u4f53<a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/aa383900(v=vs.85).aspx\">HTTP_VERSION_INFO<\/a>\u304c\u3042\u308b\u306e\u306b\u3001\u65b0\u305f\u306a\u5b9a\u6570WINHTTP_OPTION_ENABLE_HTTP_PROTOCOL\u3092\u8ffd\u52a0\u3057\u3066\u304f\u308b\u3042\u305f\u308a\u3001\u82e6\u52b4\u304c\u7aba\u3048\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows 10 1607\u3067\u5b9a\u6570WINHTTP_PROTOCOL_FLAG_HTTP2\u304c\u5897\u3048\u3066\u3044\u308b\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002\u8a66\u3057\u3066\u307f\u308b\u3068\u3001\u3084\u306f\u308aWinHTTP\u3067HTTP\/2\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u30d5\u30e9\u30b0\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,13],"tags":[],"class_list":["post-966","post","type-post","status-publish","format-standard","hentry","category-cpp","category-winapi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WinHTTP\u304cHTTP\/2\u306b\u5bfe\u5fdc\u3057\u305f (Windows 10 1607) - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d<\/title>\n<meta name=\"description\" content=\"Windows 10 1607\u3067\u5b9a\u6570WINHTTP_PROTOCOL_FLAG_HTTP2\u304c\u5897\u3048\u3066\u3044\u308b\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002\u8a66\u3057\u3066\u307f\u308b\u3068\u3001\u3084\u306f\u308aWinHTTP\u3067HTTP\/2\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u30d5\u30e9\u30b0\u3067\u3057\u305f\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WinHTTP\u304cHTTP\/2\u306b\u5bfe\u5fdc\u3057\u305f (Windows 10 1607) - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\" \/>\n<meta property=\"og:description\" content=\"Windows 10 1607\u3067\u5b9a\u6570WINHTTP_PROTOCOL_FLAG_HTTP2\u304c\u5897\u3048\u3066\u3044\u308b\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002\u8a66\u3057\u3066\u307f\u308b\u3068\u3001\u3084\u306f\u308aWinHTTP\u3067HTTP\/2\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u30d5\u30e9\u30b0\u3067\u3057\u305f\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/\" \/>\n<meta property=\"og:site_name\" content=\"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ysk.noh\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-30T08:42:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-02-03T15:24:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-request.png\" \/>\n<meta name=\"author\" content=\"egtra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@egtra\" \/>\n<meta name=\"twitter:site\" content=\"@egtra\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"egtra\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/\",\"url\":\"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/\",\"name\":\"WinHTTP\u304cHTTP\/2\u306b\u5bfe\u5fdc\u3057\u305f (Windows 10 1607) - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\",\"isPartOf\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-request.png\",\"datePublished\":\"2017-04-30T08:42:16+00:00\",\"dateModified\":\"2018-02-03T15:24:47+00:00\",\"author\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164\"},\"description\":\"Windows 10 1607\u3067\u5b9a\u6570WINHTTP_PROTOCOL_FLAG_HTTP2\u304c\u5897\u3048\u3066\u3044\u308b\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002\u8a66\u3057\u3066\u307f\u308b\u3068\u3001\u3084\u306f\u308aWinHTTP\u3067HTTP\/2\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u30d5\u30e9\u30b0\u3067\u3057\u305f\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/#primaryimage\",\"url\":\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-request.png\",\"contentUrl\":\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-request.png\",\"width\":1599,\"height\":1037,\"caption\":\"WinHTTP\u306b\u3088\u308bTLS\u306eCLIENT HELLO\u3002ALPN\u3067h2\u3068http\/1.1\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u3002\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/dev.activebasic.com\/egtra\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WinHTTP\u304cHTTP\/2\u306b\u5bfe\u5fdc\u3057\u305f (Windows 10 1607)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#website\",\"url\":\"https:\/\/dev.activebasic.com\/egtra\/\",\"name\":\"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\",\"description\":\"\u982d\u306e\u4e2d\u306e\u304b\u3051\u3089\u3002ActiveBasic\u3092\u4e2d\u5fc3\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u8a71\u3092\u307c\u3061\u307c\u3061\u3068\u3002\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dev.activebasic.com\/egtra\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164\",\"name\":\"egtra\",\"sameAs\":[\"https:\/\/x.com\/egtra\"],\"url\":\"https:\/\/dev.activebasic.com\/egtra\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WinHTTP\u304cHTTP\/2\u306b\u5bfe\u5fdc\u3057\u305f (Windows 10 1607) - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","description":"Windows 10 1607\u3067\u5b9a\u6570WINHTTP_PROTOCOL_FLAG_HTTP2\u304c\u5897\u3048\u3066\u3044\u308b\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002\u8a66\u3057\u3066\u307f\u308b\u3068\u3001\u3084\u306f\u308aWinHTTP\u3067HTTP\/2\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u30d5\u30e9\u30b0\u3067\u3057\u305f\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/","og_locale":"ja_JP","og_type":"article","og_title":"WinHTTP\u304cHTTP\/2\u306b\u5bfe\u5fdc\u3057\u305f (Windows 10 1607) - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","og_description":"Windows 10 1607\u3067\u5b9a\u6570WINHTTP_PROTOCOL_FLAG_HTTP2\u304c\u5897\u3048\u3066\u3044\u308b\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002\u8a66\u3057\u3066\u307f\u308b\u3068\u3001\u3084\u306f\u308aWinHTTP\u3067HTTP\/2\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u30d5\u30e9\u30b0\u3067\u3057\u305f\u3002","og_url":"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/","og_site_name":"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","article_publisher":"https:\/\/www.facebook.com\/ysk.noh","article_published_time":"2017-04-30T08:42:16+00:00","article_modified_time":"2018-02-03T15:24:47+00:00","og_image":[{"url":"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-request.png"}],"author":"egtra","twitter_card":"summary_large_image","twitter_creator":"@egtra","twitter_site":"@egtra","twitter_misc":{"\u57f7\u7b46\u8005":"egtra","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/","url":"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/","name":"WinHTTP\u304cHTTP\/2\u306b\u5bfe\u5fdc\u3057\u305f (Windows 10 1607) - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","isPartOf":{"@id":"https:\/\/dev.activebasic.com\/egtra\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/#primaryimage"},"image":{"@id":"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/#primaryimage"},"thumbnailUrl":"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-request.png","datePublished":"2017-04-30T08:42:16+00:00","dateModified":"2018-02-03T15:24:47+00:00","author":{"@id":"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164"},"description":"Windows 10 1607\u3067\u5b9a\u6570WINHTTP_PROTOCOL_FLAG_HTTP2\u304c\u5897\u3048\u3066\u3044\u308b\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002\u8a66\u3057\u3066\u307f\u308b\u3068\u3001\u3084\u306f\u308aWinHTTP\u3067HTTP\/2\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u30d5\u30e9\u30b0\u3067\u3057\u305f\u3002","breadcrumb":{"@id":"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/#primaryimage","url":"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-request.png","contentUrl":"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2017\/04\/winhttp-alpn-request.png","width":1599,"height":1037,"caption":"WinHTTP\u306b\u3088\u308bTLS\u306eCLIENT HELLO\u3002ALPN\u3067h2\u3068http\/1.1\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u3002"},{"@type":"BreadcrumbList","@id":"https:\/\/dev.activebasic.com\/egtra\/2017\/04\/30\/966\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/dev.activebasic.com\/egtra\/"},{"@type":"ListItem","position":2,"name":"WinHTTP\u304cHTTP\/2\u306b\u5bfe\u5fdc\u3057\u305f (Windows 10 1607)"}]},{"@type":"WebSite","@id":"https:\/\/dev.activebasic.com\/egtra\/#website","url":"https:\/\/dev.activebasic.com\/egtra\/","name":"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","description":"\u982d\u306e\u4e2d\u306e\u304b\u3051\u3089\u3002ActiveBasic\u3092\u4e2d\u5fc3\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u8a71\u3092\u307c\u3061\u307c\u3061\u3068\u3002","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dev.activebasic.com\/egtra\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164","name":"egtra","sameAs":["https:\/\/x.com\/egtra"],"url":"https:\/\/dev.activebasic.com\/egtra\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts\/966"}],"collection":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/comments?post=966"}],"version-history":[{"count":0,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts\/966\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/media?parent=966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/categories?post=966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/tags?post=966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}