class_name BugbotServerAPI extends Object enum BugbotServerError { OK, THREAD_NULL, THREAD_BUSY } static var __bugbot_server_thread : Thread func _init(): __bugbot_server_thread = Thread.new() static func _return_list_of_bugs(callback:Callable) -> int: print("Insert list of ", _current_server_api(), " bugs here.") return BugbotServerError.OK static func _prepare_form() -> int: print("Prepare ", _current_server_api(), " form here.") return BugbotServerError.OK static func _send_form_data() -> int: print("Send ", _current_server_api(), " form data here.") return BugbotServerError.OK static func _current_server_api() -> String: return "" static func _build_url_string() -> String: return "" static func _create_header_data(mime_type:String, api_key:String) -> Array: return [] func __return_list_of_bugs_thread(callback:Callable) -> void: pass