https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • a

    ambitious-knife-25690

    12/15/2022, 1:48 AM
    ah, this isn't so much an issue with haxeui but an issue with base haxe std lib
  • a

    ambitious-knife-25690

    12/15/2022, 1:48 AM
    doesn't have a field called
    responseHeaders
    on the air target
  • a

    ambitious-knife-25690

    12/15/2022, 1:49 AM
    You can add it locally
  • a

    ambitious-knife-25690

    12/15/2022, 1:51 AM
    it looks like the std lib doesn't have an implementation for
    haxe.Http
    anymore for the flash/air target anymore
  • a

    ambitious-knife-25690

    12/15/2022, 1:53 AM
    ah it was removed between haxe 3.4 and 4.0
  • r

    refined-cat-44047

    12/15/2022, 1:58 AM
    oh bugger
  • a

    ambitious-knife-25690

    12/15/2022, 1:58 AM
    weird, api references haxe.http.HttpFlash but source code doesn't have it
  • a

    ambitious-knife-25690

    12/15/2022, 1:58 AM
    What does your
    Http
    map to? @refined-cat-44047
  • a

    ambitious-knife-25690

    12/15/2022, 1:58 AM
    is it just mapping to httpbase?
  • r

    refined-cat-44047

    12/15/2022, 1:59 AM
    I was wondering that. How do I tell?
  • a

    ambitious-knife-25690

    12/15/2022, 1:59 AM
    import haxe.Http;
  • a

    ambitious-knife-25690

    12/15/2022, 1:59 AM
    right click
    http
    and click go to definition
  • e

    elegant-twilight-61392

    12/15/2022, 2:00 AM
    ~~adobe flash ~~
  • r

    refined-cat-44047

    12/15/2022, 2:00 AM
    I don't know much about the internals of haxe. I did see the switch in
    std/haxe/Http.hx
    maps to different implementations.
  • r

    refined-cat-44047

    12/15/2022, 2:00 AM
    I will try that now
  • a

    ambitious-knife-25690

    12/15/2022, 2:00 AM
    the else falls back to base according to source
  • r

    refined-cat-44047

    12/15/2022, 2:04 AM
    hmm, I can't seem to follow to the definition in VSCode for haxe.Http
  • a

    ambitious-knife-25690

    12/15/2022, 2:04 AM
    just for that particular import?
  • r

    refined-cat-44047

    12/15/2022, 2:05 AM
    oh actually. None of them work
  • a

    ambitious-knife-25690

    12/15/2022, 2:05 AM
    might want to remove the offending error code and try again
  • r

    refined-cat-44047

    12/15/2022, 2:05 AM
    Weird. I am sure I used that today
  • a

    ambitious-knife-25690

    12/15/2022, 2:05 AM
    just temporarily
  • a

    ambitious-knife-25690

    12/15/2022, 2:05 AM
    new data request after the last correct cache
  • r

    refined-cat-44047

    12/15/2022, 2:07 AM
    ok, that worked, but it just takes me to
    std\haxe\Http.hx
  • a

    ambitious-knife-25690

    12/15/2022, 2:07 AM
    ah, yeah, no implementation
  • r

    refined-cat-44047

    12/15/2022, 2:08 AM
    HttpBase does not seem very useful
  • a

    ambitious-knife-25690

    12/15/2022, 2:08 AM
    it's a base class that needs to be implemented by the target
  • r

    refined-cat-44047

    12/15/2022, 2:09 AM
    So flash target (including AIR) will be using HttpBase then
  • a

    ambitious-knife-25690

    12/15/2022, 2:09 AM
    which essentially is nothing or "needs to be implemented"
  • r

    refined-cat-44047

    12/15/2022, 2:09 AM
    which is just a stub class that should be extended
1...133413351336...1687Latest