0

I want to write an scgi version of http.request, which returns an instance of http.ClientRequest. Of course, I'd write the equivalent but for scgi.

I'm wondering what I should go about extending or where I should begin. I can handle the scgi part, I'm just wondering how to implement it such that it's more or less a drop in replacement for http.request. In other words, used the same way.

Jorge Israel Peña
  • 36,800
  • 16
  • 93
  • 123

1 Answers1

0

I would just take the API specification from the node documentation and reimplement it.

thejh
  • 44,854
  • 16
  • 96
  • 107