FunctioncloseCloses the response, releasing any associated resources.close: func(response: response) -> result<_, error>;