Noir
  • πŸšΆβ€β™‚οΈIntro
  • πŸ“Tutorials
    • πŸŽ“Starting Noir
    • πŸ“–Libraries
    • πŸ–₯️Services
    • ❔Libraries VS Services
    • πŸ’¬Callbacks
    • πŸ’₯Classes
    • πŸ”ŽDebugging
  • πŸ“šExamples
  • β˜„οΈAPI Reference
    • Bootstrapper
    • Built-Ins
      • Classes
        • AITarget
        • Body
        • Command
        • Connection
        • Event
        • HTTPRequest
        • HTTPResponse
        • Library
        • Message
        • Object
        • Player
        • Service
        • Task
        • TickIterationProcess
        • Tracker
        • Vehicle
        • Widgets
          • MapLabelWidget
          • MapLineWidget
          • MapObjectWidget
          • PopupWidget
          • ScreenPopupWidget
          • Widget
      • Libraries
        • Base64
        • Dataclasses
        • Deprecation
        • Events
        • HTTP
        • JSON
        • Logging
        • Matrix
        • Number
        • String
        • Table
      • Services
        • CommandService
        • GameSettingsService
        • HTTPService
        • MessageService
        • NotificationService
        • ObjectService
        • PlayerService
        • TaskService
        • TPSService
        • UIService
        • VehicleService
    • Callbacks
    • Class
    • Classes
    • Debugging
    • Definition
    • Libraries
    • Noir
    • Services
    • TypeChecking
Powered by GitBook
On this page
  • Parameters
  • Returns
  • Parameters
  • Returns
  • Parameters
  • Returns
  • Parameters
  • Returns
Edit on GitHub
  1. API Reference
  2. Built-Ins
  3. Libraries

HTTP

Noir.Libraries.HTTP: NoirLibrary

A library containing helper methods relating to HTTP.


Noir.Libraries.HTTP:URLEncode(str)

Encode a string into a URL-safe string.

Parameters

  • str: string

Returns

  • string


Noir.Libraries.HTTP:URLDecode(str)

Decode a URL-safe string into a string.

Parameters

  • str: string

Returns

  • string


Noir.Libraries.HTTP:URLParameters(parameters)

Convert a table of URL parameters into a string.

Parameters

  • parameters: table<string, any>

Returns

  • string


Noir.Libraries.HTTP:IsResponseOk(response)

Returns whether or not a response to a HTTP request is ok.

Parameters

  • response: string

Returns

  • boolean

PreviousEventsNextJSON

Last updated 10 months ago

β˜„οΈ