# Using Xojo.Net.HTTPSocket in a web app

**URL:** <https://forum.xojo.com/t/using-xojo-net-httpsocket-in-a-web-app/27118>\
**Category:** Web\
**Created:** [October 8, 2015, 4:06am UTC](https://forum.xojo.com/t/using-xojo-net-httpsocket-in-a-web-app/27118 "2015-10-08T04:06:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Timothy\_J\_Kearns](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/e495f1/32.png) [@Timothy\_J\_Kearns](https://forum.xojo.com/u/Timothy_J_Kearns)\
**Post date:** [October 8, 2015, 4:06am UTC](https://forum.xojo.com/t/using-xojo-net-httpsocket-in-a-web-app/27118/1 "2015-10-08T04:06:51Z")

</div>

I have been trying to use Xojo.Net.HTTPSocket in a web app

The Docs say “Project Types All”

Took me a little while to figure out why it’s not working.

Then I saw “HTTPSocket is not yet compatible with Web Apps.”

Will this be addressed in 2015 R3?

Thanks

Tim

---

<div class="post-metadata">

**Author:** ![Joe\_Ranieri](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/43a26b/32.png) [@Joe\_Ranieri](https://forum.xojo.com/u/Joe_Ranieri)\
**Post date:** [October 8, 2015, 4:12am UTC](https://forum.xojo.com/t/using-xojo-net-httpsocket-in-a-web-app/27118/2 "2015-10-08T04:12:34Z")

</div>

[quote=218949:@Tim Kearns]I have been trying to use Xojo.Net.HTTPSocket in a web app

The Docs say “Project Types All”

Took me a little while to figure out why it’s not working.

Then I saw “HTTPSocket is not yet compatible with Web Apps.”

Will this be addressed in 2015 R3?

Thanks

Tim[/quote]

Not in 2015r3, sorry.

---

<div class="post-metadata">

**Author:** ![Phillip\_Zedalis](https://forum.xojo.com/user_avatar/forum.xojo.com/phillip_zedalis/32/1151_2.png) [@Phillip\_Zedalis](https://forum.xojo.com/u/Phillip_Zedalis)\
**Post date:** [October 8, 2015, 4:54am UTC](https://forum.xojo.com/t/using-xojo-net-httpsocket-in-a-web-app/27118/3 "2015-10-08T04:54:59Z")

</div>

Tim,

Go download GlueKit [https://github.com/1701software/gluekit/tree/GlueKit-for-Xojo-2015-1](https://github.com/1701software/gluekit/tree/GlueKit-for-Xojo-2015-1)

The HTTPSocket there mimics the Xojo.Net.HTTPSocket class and is interchangeable. However on desktop/console/web apps it uses the old HTTPSocket internally while using the new one on iOS.

This way when it is available you can just swap it out for the real thing without any code changes.

---

<div class="post-metadata">

**Author:** ![Seth\_Ober](https://forum.xojo.com/user_avatar/forum.xojo.com/seth_ober/32/741_2.png) [@Seth\_Ober](https://forum.xojo.com/u/Seth_Ober)\
**Post date:** [January 13, 2017, 1:37am UTC](https://forum.xojo.com/t/using-xojo-net-httpsocket-in-a-web-app/27118/4 "2017-01-13T01:37:14Z")

</div>

GlueKit saved me on a project just today (xojo.net.httpsocket still doesn’t work fully in web apps in 2016r4.1). Can’t recommend it enough!

---

<div class="post-metadata">

**Author:** ![Michel\_Bujardet](https://forum.xojo.com/user_avatar/forum.xojo.com/michel_bujardet/32/252_2.png) [@Michel\_Bujardet](https://forum.xojo.com/u/Michel_Bujardet)\
**Post date:** [January 13, 2017, 1:38am UTC](https://forum.xojo.com/t/using-xojo-net-httpsocket-in-a-web-app/27118/5 "2017-01-13T01:38:08Z")

</div>

> [@309494:@Seth Ober](#):
>
> xojo.net.httpsocket still doesn’t work in 2016r4.1

How come ?

---

<div class="post-metadata">

**Author:** ![Seth\_Ober](https://forum.xojo.com/user_avatar/forum.xojo.com/seth_ober/32/741_2.png) [@Seth\_Ober](https://forum.xojo.com/u/Seth_Ober)\
**Post date:** [January 13, 2017, 1:45am UTC](https://forum.xojo.com/t/using-xojo-net-httpsocket-in-a-web-app/27118/6 "2017-01-13T01:45:13Z")

</div>

Had a routine using xojo.net.httpsocket working flawlessly in a desktop app. Copied the routine into a Web app and one or more socket events didn’t fire when the socket would receive data. No error message or anything–just a silent failure.

Changed the super of the socket to the gluekit version of httpsocket and POOF! The routine worked again (just like in the desktop app) with no other changes to the code at all.

---

<div class="post-metadata">

**Author:** ![Michel\_Bujardet](https://forum.xojo.com/user_avatar/forum.xojo.com/michel_bujardet/32/252_2.png) [@Michel\_Bujardet](https://forum.xojo.com/u/Michel_Bujardet)\
**Post date:** [January 13, 2017, 8:55am UTC](https://forum.xojo.com/t/using-xojo-net-httpsocket-in-a-web-app/27118/7 "2017-01-13T08:55:29Z")

</div>

Since 2016R1 or so, I have been using `Xojo.net.httpsocket` in my Paypal listener app to post back parameters to the Paypal server in HTTP 1.1 since Xojo web does not support it. No issue whatsoever.

But I did not try to use it to get.

If you have more specific issues, you should file a bug report.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 5:59pm UTC](https://forum.xojo.com/t/using-xojo-net-httpsocket-in-a-web-app/27118/8 "2020-10-29T17:59:29Z")

</div>


