PipeScript icon indicating copy to clipboard operation
PipeScript copied to clipboard

PipeScript should extend `HttpListenerRequest`

Open StartAutomating opened this issue 1 year ago • 0 comments

http listener is the backbone of how PSNode and many other high-efficiency microservers work.

In order to more cleanly separate the concern of "working the listener in PowerShell" from "Working with requests in PSNode", PipeScript should extend listener objects, starting with HttpListenerRequest.

  • [ ] #1111
  • [ ] #1112
  • [ ] #1113
  • [ ] #1114
  • [ ] #1115

In order to be friendly to developers from other ecosystems, some of these overrides should emulate some facets of various other web requests, such as:

As there is a substantial overlap in these technologies names (since they are all variations on the HTTP standards), this will consist of a small number of methods/properties, and a larger number of aliases.

  • [ ] #1117
  • [ ] #1118
  • [ ] #1119
  • [ ] #1120
  • [ ] #1121
  • [ ] #1122

Last but not least, there should also be extensions that simplify everyday PowerShell / PipeScript Interaction with requests:

  • [ ] #1126
  • [ ] #1123
  • [ ] #1124
  • [ ] #1125

StartAutomating avatar May 01 '24 17:05 StartAutomating