Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is a client proxy thread-safe?

client proxy thread-safe
0
Posted

Is a client proxy thread-safe?

0

The thread safety of a proxy is essentially the same as that of the underlying System.Net.WebRequest object: “Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.” If you need to make concurrent calls, use a separate proxy for each call. Note that it is ok to make multiple calls to XmlRpcProxyGen.Create for the same type because the dynamically generated proxy class is cached and reused in following calls to Create.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123