# Introduction to SideWinder - a pure Haxe web server for Sys targets

**URL:** https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706
**Category:** Haxe
**Created:** [November 12, 2025, 12:36am UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706 "2025-11-12T00:36:10Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Falagard](https://community.haxe.org/user_avatar/community.haxe.org/falagard/32/2232_2.png) [@Falagard](https://community.haxe.org/u/Falagard)
#### Post date: [November 12, 2025, 12:36am UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706/1 "2025-11-12T00:36:10Z")

</div>

https://www.youtube.com/embed/Lqfd2Fc5D3E?feature=oembed&wmode=opaque

Here’s a video I put to show off something I’ve been working on - a pure Haxe web server.

I’m hoping to put together more videos and tutorials in the future showing off features in more depth, and as I add or complete more of my goals.

---

<div class="post-metadata">

### Author: ![alex\_dja](https://community.haxe.org/user_avatar/community.haxe.org/alex_dja/32/294_2.png) [@alex\_dja](https://community.haxe.org/u/alex_dja)
#### Post date: [November 12, 2025, 6:01pm UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706/2 "2025-11-12T18:01:39Z")

</div>

Nice video:) What AI support stuff do you use when coding?

---

<div class="post-metadata">

### Author: ![Falagard](https://community.haxe.org/user_avatar/community.haxe.org/falagard/32/2232_2.png) [@Falagard](https://community.haxe.org/u/Falagard)
#### Post date: [November 12, 2025, 9:05pm UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706/3 "2025-11-12T21:05:39Z")

</div>

Thanks!

I’m using Github Copilot Pro (10usd per month) and mostly use Claude Sonnet 4.5 as the model.

It integrates directly into Visual Studio Code (and Visual Studio).

I’m not sure if you’ve used it but you can switch the model easily to GPT 5, or different premium options if you are paying for Pro.

I think it’s pretty amazing how well it all works (expecially when everything is Haxe) and it even figured out that I switch between html5 and hashlink builds and in agent mode it would verify its changes by doing a “lime build hl” and then afterwards “lime build html5” to verify there aren’t compile errors.

What do you use?

---

<div class="post-metadata">

### Author: ![alex\_dja](https://community.haxe.org/user_avatar/community.haxe.org/alex_dja/32/294_2.png) [@alex\_dja](https://community.haxe.org/u/alex_dja)
#### Post date: [November 14, 2025, 2:12pm UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706/4 "2025-11-14T14:12:58Z")

</div>

I don’t use big tech AI for reasons of privacy. Planning to try ollama open models locally.

---

<div class="post-metadata">

### Author: ![barisyild](https://community.haxe.org/user_avatar/community.haxe.org/barisyild/32/1376_2.png) [@barisyild](https://community.haxe.org/u/barisyild)
#### Post date: [November 15, 2025, 12:48am UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706/5 "2025-11-15T00:48:39Z")

</div>

If you are interested in building http applications with haxe, I highly recommend the hxwell framework.

> **[GitHub - hxwell/hxwell: haxe backend web framework](https://github.com/hxwell/hxwell)**
>
> haxe backend web framework

> **[GitHub - hxwell/notes-sample](https://github.com/hxwell/notes-sample)**
>
> Contribute to hxwell/notes-sample development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![Falagard](https://community.haxe.org/user_avatar/community.haxe.org/falagard/32/2232_2.png) [@Falagard](https://community.haxe.org/u/Falagard)
#### Post date: [November 19, 2025, 12:10am UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706/6 "2025-11-19T00:10:30Z")

</div>

Nice! I’m definitely going to take a deep dive into HxWell and see how it compares to what I’ve been working on.

At the very least I may be able to abstract the underlying http server implementation to support both snake-server and HxWell

---

<div class="post-metadata">

### Author: ![barisyild](https://community.haxe.org/user_avatar/community.haxe.org/barisyild/32/1376_2.png) [@barisyild](https://community.haxe.org/u/barisyild)
#### Post date: [November 28, 2025, 12:32pm UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706/7 "2025-11-28T12:32:55Z")

</div>

HxWell has different [drivers](https://github.com/hxwell/hxwell/tree/master/src/hx/well/http/driver) across platforms.

Can have low level access or high level access if you want.

## Samples

### Manual IO (Chunked Transfer) Sample (Working with all drivers)

```haxe
// Static access for response object
var responseStatic = ResponseBuilder.asStatic();

// Set Headers
responseStatic.header("Content-Type", "text/plain");
responseStatic.header("Connection", "close");

// Flush Headers
request.context.beginWrite();

// Write Body
request.context.writeString("OK");
request.context.close();

```

### Static + Dynamic Response Sample

```haxe
ResponseBuilder.asStatic()
	.header("Static-Access", "true");

// Way 1 - Static-Access -> true
/*return {
	'status': 'error',
	'message': 'Server is busy'
};*/

// Way 2 - Static-Access -> true, Status -> Error, Dynamic-Access -> true
return ResponseBuilder.asJson({
	status: "error",
	message: "Server is busy"
}).header("Status", "Error")
.header("Dynamic-Access", "true");

```

---

<div class="post-metadata">

### Author: ![jcward](https://community.haxe.org/user_avatar/community.haxe.org/jcward/32/115_2.png) [@jcward](https://community.haxe.org/u/jcward)
#### Post date: [December 1, 2025, 4:53pm UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706/8 "2025-12-01T16:53:04Z")

</div>

I played with benchmarking open source models on software engineering tasks with a 3090 24GB GPU this past summer… Fun stuff. Here’s a screenshot of what I was toying with. With the right agentic setup, or for just the right situation, you _might_ get some useful and timely output… but there’s a reason the big players get paid billions. They are generically useful and with server farms, quite fast.

Still… very fun to play with.

 ![Selection_009](https://community.haxe.org/uploads/default/original/2X/6/67a1ae76ffd2eaa32a939663db836e2f9714eefa.png)

---

<div class="post-metadata">

### Author: ![jcward](https://community.haxe.org/user_avatar/community.haxe.org/jcward/32/115_2.png) [@jcward](https://community.haxe.org/u/jcward)
#### Post date: [December 1, 2025, 4:55pm UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706/9 "2025-12-01T16:55:24Z")

</div>

Hi Clay, this project looks very cool! Glad to see you playing with all kinds of Haxe tech - from haxeui to lime to hashlink. 🎉 Love the focus on building debuggable, cross-platform, pure-Haxe solutions.

---

<div class="post-metadata">

### Author: ![Falagard](https://community.haxe.org/user_avatar/community.haxe.org/falagard/32/2232_2.png) [@Falagard](https://community.haxe.org/u/Falagard)
#### Post date: [April 9, 2026, 3:44am UTC](https://community.haxe.org/t/introduction-to-sidewinder-a-pure-haxe-web-server-for-sys-targets/4706/10 "2026-04-09T03:44:50Z")

</div>

Hey, just thought I let you know that I am using HxWell as the server backend and build a framework on top of it. Nice work!
