<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Limit Http Requests in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11469654#M16490</link>
    <description>&lt;P&gt;I think it depends on your physical environment.&lt;/P&gt;&lt;P&gt;.NET sends http requests by ThreadPool which has a max thread count. You can check this capacity by using&amp;nbsp;&lt;A title="ThreadPool.GetAvailableThreads(Int32, Int32) Method" href="https://learn.microsoft.com/en-us/dotnet/api/system.threading.threadpool.getavailablethreads?view=netframework-4.5" target="_blank" rel="noopener"&gt;ThreadPool.GetAvailableThreads(Int32, Int32) Method&lt;/A&gt;&amp;nbsp;or &lt;A href="https://learn.microsoft.com/en-us/dotnet/api/system.threading.threadpool.getmaxthreads?view=netframework-4.5" target="_blank" rel="noopener"&gt;ThreadPool.GetMaxThreads(Int32, Int32) Method&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;ThreadPool has a queue internally which means your can spawn as many&amp;nbsp;requests as you can&amp;nbsp;within the limitation of the OS and hardware and the ThreadPool will consume them when there are available threads anytime.&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dotnet/standard/threading/the-managed-thread-pool" target="_blank" rel="noopener"&gt;Detailed material about ThreadPool&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 08 Oct 2022 02:22:31 GMT</pubDate>
    <dc:creator>Kennan.Chen</dc:creator>
    <dc:date>2022-10-08T02:22:31Z</dc:date>
    <item>
      <title>Limit Http Requests</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11459892#M16486</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read a couple of months ago that there is a limit regarding the http requests. Which means the user is only allowed to send e.g. 500 requests a day.&lt;/P&gt;&lt;P&gt;Is this true? Is there really a limit?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 06:06:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11459892#M16486</guid>
      <dc:creator>melanie.ernst</dc:creator>
      <dc:date>2022-10-04T06:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Http Requests</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11460147#M16487</link>
      <description>&lt;P&gt;It would help a lot if you mentioned what you are talking about. Your question does not make much sense in the context of the desktop Revit API, which is the one and only topic of this discussion forum. Maybe you are referring to the Autodesk Platform Services, formerly known as Forge. In that case, please direct your question to the official APS help channels:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forge.autodesk.com/en/support/get-help" target="_blank"&gt;https://forge.autodesk.com/en/support/get-help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 08:41:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11460147#M16487</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-10-04T08:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Http Requests</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11463023#M16488</link>
      <description>&lt;P&gt;Hey, sorry for the short question! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So basically what I am trying to do, is to create a plugin in Revit that gets some information from a server via http request. E.g. the user needs to log in via the plugin and types in username/password. this will be sent to the server for authentication via http.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question: how many http request can a user send? is there any limitation?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 10:49:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11463023#M16488</guid>
      <dc:creator>melanie.ernst</dc:creator>
      <dc:date>2022-10-05T10:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Http Requests</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11463227#M16489</link>
      <description>&lt;P&gt;I am not aware of any such limit, and I doubt that Revit or its API impose any such thing either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 12:13:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11463227#M16489</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-10-05T12:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Http Requests</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11469654#M16490</link>
      <description>&lt;P&gt;I think it depends on your physical environment.&lt;/P&gt;&lt;P&gt;.NET sends http requests by ThreadPool which has a max thread count. You can check this capacity by using&amp;nbsp;&lt;A title="ThreadPool.GetAvailableThreads(Int32, Int32) Method" href="https://learn.microsoft.com/en-us/dotnet/api/system.threading.threadpool.getavailablethreads?view=netframework-4.5" target="_blank" rel="noopener"&gt;ThreadPool.GetAvailableThreads(Int32, Int32) Method&lt;/A&gt;&amp;nbsp;or &lt;A href="https://learn.microsoft.com/en-us/dotnet/api/system.threading.threadpool.getmaxthreads?view=netframework-4.5" target="_blank" rel="noopener"&gt;ThreadPool.GetMaxThreads(Int32, Int32) Method&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;ThreadPool has a queue internally which means your can spawn as many&amp;nbsp;requests as you can&amp;nbsp;within the limitation of the OS and hardware and the ThreadPool will consume them when there are available threads anytime.&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dotnet/standard/threading/the-managed-thread-pool" target="_blank" rel="noopener"&gt;Detailed material about ThreadPool&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 02:22:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/limit-http-requests/m-p/11469654#M16490</guid>
      <dc:creator>Kennan.Chen</dc:creator>
      <dc:date>2022-10-08T02:22:31Z</dc:date>
    </item>
  </channel>
</rss>

